BUG 11856 El javascript deja de funcionar al habilitar el html editing SOLVED
- Do not displayed javascript editor. in iExplorer. - Adjustment in the codemirror editor for iExplorer.
This commit is contained in:
@@ -458,6 +458,11 @@ var dynaformEditor={
|
|||||||
if( ! xmlEditor ) {
|
if( ! xmlEditor ) {
|
||||||
clientWinSize = getClientWindowSize();
|
clientWinSize = getClientWindowSize();
|
||||||
|
|
||||||
|
if (_BROWSER.name == 'msie') {
|
||||||
|
var content_withoutLabel = document.getElementById("form[XML]").parentNode;
|
||||||
|
content_withoutLabel.style.height = (clientWinSize.height - 140) + 'px';
|
||||||
|
}
|
||||||
|
|
||||||
/*xmlEditor = CodeMirror.fromTextArea('form[XML]', {
|
/*xmlEditor = CodeMirror.fromTextArea('form[XML]', {
|
||||||
height: (clientWinSize.height - 120) + "px",
|
height: (clientWinSize.height - 120) + "px",
|
||||||
width: (_BROWSER.name == 'msie' ? '100%' : '98%'),
|
width: (_BROWSER.name == 'msie' ? '100%' : '98%'),
|
||||||
@@ -532,6 +537,11 @@ var dynaformEditor={
|
|||||||
if( ! jsEditor )
|
if( ! jsEditor )
|
||||||
{
|
{
|
||||||
clientWinSize = getClientWindowSize();
|
clientWinSize = getClientWindowSize();
|
||||||
|
|
||||||
|
if (_BROWSER.name == 'msie') {
|
||||||
|
var content_withoutLabel = document.getElementById("form[JS]").parentNode;
|
||||||
|
content_withoutLabel.style.height = (clientWinSize.height - 140) + 'px';
|
||||||
|
}
|
||||||
startJSCodePress();
|
startJSCodePress();
|
||||||
|
|
||||||
/*jsEditor = CodeMirror.fromTextArea('form[JS]', {
|
/*jsEditor = CodeMirror.fromTextArea('form[JS]', {
|
||||||
@@ -544,9 +554,9 @@ var dynaformEditor={
|
|||||||
continuousScanning: 500 });*/
|
continuousScanning: 500 });*/
|
||||||
|
|
||||||
jsEditor = CodeMirror.fromTextArea(document.getElementById("form[JS]"), {
|
jsEditor = CodeMirror.fromTextArea(document.getElementById("form[JS]"), {
|
||||||
mode: "javascript",
|
mode: "javascript",
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
lineWrapping: true });
|
lineWrapping: true });
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
showRowById('JS_TITLE');
|
showRowById('JS_TITLE');
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
{elseif ($field->type==='')}
|
{elseif ($field->type==='')}
|
||||||
{elseif ($field->withoutLabel)}
|
{elseif ($field->withoutLabel)}
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" class="withoutLabel">{$field->field}</td>
|
<td colspan="2" class="withoutLabel" style="height:auto;">{$field->field}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{elseif (isset($field->withoutValue) && $field->withoutValue)}
|
{elseif (isset($field->withoutValue) && $field->withoutValue)}
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user