ko.applyBindings(viewModel,mainContent.find("#network-proxies-edit").get(0));
activateNetworkProxyFormValidation();
activateNetworkProxyEditTab();
+ mainContent.find("#network-proxy-btn-save").attr("disabled","true");
+ mainContent.find("#network-proxy-btn-save").button('toggle');
}
this.bulkSave=function(){
</div>
</fieldset>
- <button data-bind="click: save" class="btn">${$.i18n.prop('save')}</button>
+ <button id="network-proxy-btn-save" data-bind="click: save" class="btn">${$.i18n.prop('save')}</button>
+ {{if networkProxy.modified()}}
+ ${("#network-proxy-btn-save").button('reset')}
+ {{/if}}
<button data-bind="click: displayGrid" class="btn">${$.i18n.prop('cancel')}</button>
</form>
</script>