Default to previous condition when creating new advanced search row

Fixes #1533
This commit is contained in:
Dan Stillman 2018-12-15 23:52:57 -05:00
parent 1c47d21937
commit 28aa86eb79

View file

@ -812,7 +812,14 @@
<body>
<![CDATA[
if (this.parent){
this.parent.addCondition();
let ref = this.parent.search.getCondition(
this.parent.search.addCondition(
this.id('conditionsmenu').value,
this.id('operatorsmenu').value,
""
)
)
this.parent.addCondition(ref);
window.sizeToContent();
}
]]>