mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-07 22:05:05 +02:00
merge r10312 from trunk to branch 2.2
Bug corrected if no textarea displayed. git-svn-id: http://piwigo.org/svn/branches/2.2@10313 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -14,11 +14,12 @@
|
||||
{combine_css path="plugins/LocalFilesEditor/locfiledit.css"}
|
||||
|
||||
{footer_script}
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById("text"), {ldelim}
|
||||
matchBrackets: true,
|
||||
mode: "{$CODEMIRROR_MODE}",
|
||||
tabMode: "shift"
|
||||
});
|
||||
if (document.getElementById("text") != null)
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById("text"), {ldelim}
|
||||
matchBrackets: true,
|
||||
mode: "{$CODEMIRROR_MODE}",
|
||||
tabMode: "shift"
|
||||
});
|
||||
{/footer_script}
|
||||
|
||||
<div class="titrePage">
|
||||
|
||||
Reference in New Issue
Block a user