In IE10, the Save/Reset buttons are not getting enabled after changing fields.

This commit is contained in:
Khushboo Vashi 2016-05-06 15:29:32 +01:00 committed by Dave Page
parent 3eb51e93e7
commit f3d05279a7

View File

@ -787,8 +787,8 @@ function($, _, S, pgAdmin, Menu, Backbone, Alertify, pgBrowser, Backform) {
var updateButtons = function(hasError, modified) { var updateButtons = function(hasError, modified) {
var btnGroup = this.find('.pg-prop-btn-group'), var btnGroup = this.find('.pg-prop-btn-group'),
btnSave = btnGroup.find('button[type="save"]'), btnSave = btnGroup.find('button.btn-primary'),
btnReset = btnGroup.find('button[type="reset"]'); btnReset = btnGroup.find('button.btn-warning');
if (hasError || !modified) { if (hasError || !modified) {
btnSave.prop('disabled', true); btnSave.prop('disabled', true);