Plugin Directory

Changeset 789286


Ignore:
Timestamp:
10/17/2013 01:50:55 PM (12 years ago)
Author:
Strunker
Message:

Fix for click handler on search dialog. The correct police office will be updated now.

File:
1 edited

Legend:

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

    r788218 r789286  
    118118 */
    119119function polizeipresse_admin_open_search_dialog(office_index) {
     120
    120121    api_key = jQuery('#api_key').val();
    121122    if (api_key) {
     123
    122124        // Init apply button in search dialog
     125        jQuery("#applySearchOfficeDialog").unbind('click');
    123126        jQuery("#applySearchOfficeDialog").click(function() {
    124127            polizeipresse_admin_apply_selected_office(office_index);
    125128            jQuery("#searchOfficeDialog").dialog("close");
     129            return false;
    126130        });
    127131
Note: See TracChangeset for help on using the changeset viewer.