%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
jQuery(".rights-editor").tabs({
select: function(ev, ui) {
sync_anchor(ui.tab.hash);
+ if ( jQuery(ui.tab).find('input[type=text]').size() > 0 ) {
+ jQuery(ui.tab).find('input[type=text]:first').focus();
+ }
}
});