Permalink
Browse files

issue #19827: Let us refresh any time.

  • Loading branch information...
John Rogelstad
John Rogelstad committed Mar 20, 2013
1 parent 82057f7 commit 066e791c02ab34641f1f354bb7055336f1d84c6f
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/enyo-x/source/views/workspace.js
@@ -514,7 +514,7 @@ trailing:true white:true*/
src: "/client/lib/enyo-x/assets/menu-icon-lock.png"},
{kind: "onyx.Button", name: "printButton", showing: false,
content: "_print".loc(), onclick: "print"},
- {kind: "onyx.Button", name: "refreshButton", disabled: true,
+ {kind: "onyx.Button", name: "refreshButton", disabled: false,
content: "_refresh".loc(), onclick: "requery"},
{kind: "onyx.Button", name: "applyButton", disabled: true,
content: "_apply".loc(), onclick: "apply"},
@@ -939,7 +939,6 @@ trailing:true white:true*/
// XXX we really only have to do this if there's a *change* to the button content
this.$.contentToolbar.render();
- this.$.refreshButton.setDisabled(canNotSave);
this.$.applyButton.setDisabled(canNotSave);
this.$.saveAndNewButton.setDisabled(!isEditable);
this.$.saveButton.setDisabled(canNotSave);

0 comments on commit 066e791

Please sign in to comment.