the first major round of changes for versioning
This commit is contained in:
parent
e535c5d43f
commit
5531a9b3d2
10 changed files with 443 additions and 303 deletions
|
|
@ -2,7 +2,7 @@ function addCriteria ( fieldname, opform, valform ) {
|
|||
var form = opform.form;
|
||||
var operator = getValue(opform);
|
||||
var value = getValue(valform);
|
||||
var criteria = form.proxyCriteria.value;
|
||||
var criteria = form.shortcutCriteria.value;
|
||||
var conjunction = "";
|
||||
if(! /^\s*$/.test(criteria)) {
|
||||
conjunction = " " + getValue(form.conjunction) + " ";
|
||||
|
|
@ -15,7 +15,7 @@ function addCriteria ( fieldname, opform, valform ) {
|
|||
value = '"' + value + '"';
|
||||
}
|
||||
var statement = fieldname + " " + operator + " " + value;
|
||||
form.proxyCriteria.value = criteria + conjunction + statement;
|
||||
form.shortcutCriteria.value = criteria + conjunction + statement;
|
||||
}
|
||||
|
||||
function getValue(sel) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue