integrating changes in order to enable the double click selection/insertion in the variable picker
This commit is contained in:
@@ -31,7 +31,7 @@ leimnud.event.add(document.getElementById('search'), 'keypress', function(e) {
|
||||
if(key == '13')
|
||||
{
|
||||
//var ref = document.getElementById("PRO_UID").value;
|
||||
var list = getVariableList(document.getElementById('search').value, document.getElementById("PRO_UID").value, document.getElementById('type_variables').value);
|
||||
var list = getVariableList(document.getElementById('search').value, document.getElementById("process").value, document.getElementById('type_variables').value);
|
||||
for (var i=0; i< list.length; i++){
|
||||
console.log(list[i].sName);
|
||||
}
|
||||
|
||||
@@ -56,8 +56,7 @@ $html .= '<option value="all">All Variables</option>';
|
||||
$html .= '<option value="system">System Variables</option>';
|
||||
$html .= '<option value="process">Process Variables</option>';
|
||||
$html .= '</select> ';
|
||||
$html .= '<input type="hidden" id="PRO_UID" name="PRO_UID" value="'.$_POST['sProcess'].'"/> ';
|
||||
$html .= '<input type="hidden" id="selectedField" name="selectedField" value="'.$_POST['selectedField'].'"/> ';
|
||||
$html .= '<input type="hidden" id="selectedField" name="selectedField" value="'.$_POST['sFieldName'].'"/> ';
|
||||
$html .= '</td>';
|
||||
|
||||
$html .= '<td width="25%">';
|
||||
|
||||
Reference in New Issue
Block a user