Merge pull request #1593 from ralpheav/master

Removing right empty space from trigger editor.
This commit is contained in:
julceslauhub
2013-04-19 09:15:52 -07:00
4 changed files with 3 additions and 4 deletions

View File

@@ -81,7 +81,6 @@
state.pending = null; state.pending = null;
var cur = stream.current(), openPHP = cur.search(/<\?/); var cur = stream.current(), openPHP = cur.search(/<\?/);
if (openPHP != -1) { if (openPHP != -1) {
alert("openPHP");
if (style == "string" && /\"$/.test(cur) && !/\?>/.test(cur)) state.pending = '"'; if (style == "string" && /\"$/.test(cur) && !/\?>/.test(cur)) state.pending = '"';
else state.pending = {end: stream.pos, style: style}; else state.pending = {end: stream.pos, style: style};
stream.backUp(cur.length - openPHP); stream.backUp(cur.length - openPHP);

View File

@@ -93,7 +93,7 @@
indentWithTabs: false, indentWithTabs: false,
readOnly: true readOnly: true
}); });
triggerEditor.setSize(350,200); triggerEditor.setSize(400,200);
function cancel() function cancel()
{ {

View File

@@ -52,7 +52,7 @@ var triggerEditor = CodeMirror.fromTextArea(document.getElementById("form[TRI_WE
indentWithTabs: false, indentWithTabs: false,
extraKeys: {"Ctrl-Space": "autocomplete"} extraKeys: {"Ctrl-Space": "autocomplete"}
}); });
triggerEditor.setSize(400,250); triggerEditor.setSize(450,245);
getField('TRI_TITLE').form.onsubmit = function() {return false;}; getField('TRI_TITLE').form.onsubmit = function() {return false;};
var _oVarsPanel_; var _oVarsPanel_;

View File

@@ -43,7 +43,7 @@ var triggerEditor = CodeMirror.fromTextArea(document.getElementById("form[TRI_WE
indentWithTabs: false, indentWithTabs: false,
extraKeys: {"Ctrl-Space": "autocomplete"} extraKeys: {"Ctrl-Space": "autocomplete"}
}); });
triggerEditor.setSize(800,400); triggerEditor.setSize(890, 440);
var _oVarsPanel_; var _oVarsPanel_;
var showDynaformsFormVars = function(sFieldName, sAjaxServer, sProcess, sSymbol) { var showDynaformsFormVars = function(sFieldName, sAjaxServer, sProcess, sSymbol) {