The variable picker in the event section is now the same as the rest of ProcessMaker

This commit is contained in:
user
2012-11-28 17:43:19 -04:00
parent dc2c19f288
commit f84505750c
5 changed files with 130 additions and 99 deletions

View File

@@ -1,7 +1,11 @@
var setVariablePickerJS = function(){
document.getElementById('_Var_Form_').addEventListener('dblclick', function(){
insertFormVar(document.getElementById('selectedField').value, this.value);
if (this.getAttribute('displayOption')=='event'){
e.insertFormVar(this.value.substring(2), this.value.substring(2), 'dyn' );
} else {
insertFormVar(document.getElementById('selectedField').value, this.value);
}
});
var getVariableList = function (queryText, proUid, varType){