Plugin Directory

Changeset 796224


Ignore:
Timestamp:
10/30/2013 08:48:09 PM (12 years ago)
Author:
Strunker
Message:

Fixed: Keeping open tab when after saving

File:
1 edited

Legend:

Unmodified
Added
Removed
  • polizeipresse/trunk/js/admin.js

    r789286 r796224  
    4343    jQuery("#PolizeipresseOptionsForm").submit(function() {
    4444        var $form = this;
    45         selected_tab_idx = jQuery("#PolizeipresseOptionsForm").tabs("option", "selected");
     45        selected_tab_idx = jQuery("#PolizeipresseOptionsForm").tabs("option", "active");
    4646        jQuery('<input />', {type: 'hidden', name: 'admin_tab_index', value: selected_tab_idx}).appendTo($form);
    4747        return true;
     
    5656 */
    5757function polizeipresse_admin_show_tab(tab_index) {
    58     jQuery("#PolizeipresseOptionsForm").tabs({selected: tab_index});
     58    jQuery("#PolizeipresseOptionsForm").tabs({active: tab_index});
    5959}
    6060
Note: See TracChangeset for help on using the changeset viewer.