Merge pull request #1593 from ralpheav/master
Removing right empty space from trigger editor.
This commit is contained in:
1
gulliver/js/codemirror/mode/php/php.js
vendored
1
gulliver/js/codemirror/mode/php/php.js
vendored
@@ -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);
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
indentWithTabs: false,
|
indentWithTabs: false,
|
||||||
readOnly: true
|
readOnly: true
|
||||||
});
|
});
|
||||||
triggerEditor.setSize(350,200);
|
triggerEditor.setSize(400,200);
|
||||||
|
|
||||||
function cancel()
|
function cancel()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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_;
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user