hg merge release-1.0c (forward-porting)
This commit is contained in:
commit
54460565b6
|
@ -974,7 +974,7 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value
|
||||||
public void onPageAttached(Page newpage, Page oldpage) {
|
public void onPageAttached(Page newpage, Page oldpage) {
|
||||||
super.onPageAttached(newpage, oldpage);
|
super.onPageAttached(newpage, oldpage);
|
||||||
if (newpage != null) {
|
if (newpage != null) {
|
||||||
String w = "var btn=jq('#'+this.parent.uuid+' @button').zk.$();";
|
String w = "try{var btn=jq('#'+this.parent.uuid+' @button').zk.$();}catch(err){}";
|
||||||
getTextbox().setWidgetListener("onChange", "try{"+w+"btn.setImage(\""
|
getTextbox().setWidgetListener("onChange", "try{"+w+"btn.setImage(\""
|
||||||
+ Executions.getCurrent().encodeURL(IN_PROGRESS_IMAGE)+"\");"
|
+ Executions.getCurrent().encodeURL(IN_PROGRESS_IMAGE)+"\");"
|
||||||
+ "btn.setDisabled(true, {adbs: false, skip: false});}catch(err){}");
|
+ "btn.setDisabled(true, {adbs: false, skip: false});}catch(err){}");
|
||||||
|
|
Loading…
Reference in New Issue