FIX: Fix not switching to the correct tab on validation error.

This commit is contained in:
Andrew Short 2013-10-09 23:28:09 +11:00
parent ed9f8dcf1f
commit a63b9c9d5d

View File

@ -93,7 +93,7 @@
var firstTabWithErrors = this.find('.message.validation:first').closest('.tab');
$('.cms-container').clearCurrentTabState(); // clear state to avoid override later on
this.redraw();
firstTabWithErrors.closest('.cms-tabset').tabs('select', firstTabWithErrors.attr('id'));
firstTabWithErrors.closest('.ss-tabset').tabs('select', firstTabWithErrors.attr('id'));
}
this._super();