only undo and save buttons are disabled until data changed now #605
|
@ -58,24 +58,21 @@
|
||||||
label="Save">
|
label="Save">
|
||||||
</vn-submit>
|
</vn-submit>
|
||||||
<vn-button
|
<vn-button
|
||||||
disabled="!watcher.dataChanged()"
|
|
||||||
label="Synchronize all"
|
label="Synchronize all"
|
||||||
ng-click="$ctrl.onSynchronizeAll()">
|
ng-click="$ctrl.onSynchronizeAll()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
<vn-button
|
<vn-button
|
||||||
disabled="!watcher.dataChanged()"
|
|
||||||
label="Synchronize user"
|
label="Synchronize user"
|
||||||
ng-click="syncUser.show()">
|
ng-click="syncUser.show()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
<vn-button
|
<vn-button
|
||||||
disabled="!watcher.dataChanged()"
|
|
||||||
label="Synchronize roles"
|
label="Synchronize roles"
|
||||||
ng-click="$ctrl.onSynchronizeRoles()">
|
ng-click="$ctrl.onSynchronizeRoles()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
<vn-button
|
<vn-button
|
||||||
|
disabled="!watcher.dataChanged()"
|
||||||
class="cancel"
|
class="cancel"
|
||||||
label="Undo changes"
|
label="Undo changes"
|
||||||
disabled="!watcher.dataChanged()"
|
|
||||||
ng-click="watcher.loadOriginalData()">
|
ng-click="watcher.loadOriginalData()">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
</vn-button-bar>
|
</vn-button-bar>
|
||||||
|
|
Loading…
Reference in New Issue