FIX: Changetracker causing 'saveButton is not a function' error

Regression from 1571d35
This commit is contained in:
Loz Calver 2014-01-03 11:34:23 +00:00
parent 046a5fd6bb
commit 034bfc35c4

View File

@ -288,9 +288,9 @@
},
onunmatch: function(e) {
var saveButton = this.find('button[name=action_save]');
if(saveButton.data('button')) saveButton('option', 'showingAlternate', false);
if(saveButton.data('button')) saveButton.button('option', 'showingAlternate', false);
var publishButton = this.find('button[name=action_publish]');
if(publishButton.data('button')) publishButton('option', 'showingAlternate', false);
if(publishButton.data('button')) publishButton.button('option', 'showingAlternate', false);
this._super(e);
}
});