wp/wp-content/plugins/portfolio/bws_menu/js/general_script.js
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
    13 				/**
    13 				/**
    14 				* add notice about changing on the settings page
    14 				* add notice about changing on the settings page
    15 				*/
    15 				*/
    16 				$( '.bws_form input, .bws_form textarea, .bws_form select' ).on(
    16 				$( '.bws_form input, .bws_form textarea, .bws_form select' ).on(
    17 					"change paste select",
    17 					"change paste select",
    18 					function() {
    18 					function( e ) {
    19 						if ( $( this ).attr( 'type' ) != 'submit' && ! $( this ).hasClass( 'bws_no_bind_notice' ) ) {
    19 						if ( $( this ).attr( 'type' ) != 'submit' && ! $( this ).hasClass( 'bws_no_bind_notice' ) && typeof ( e.originalEvent ) != 'undefined' ) {
    20 							bws_show_settings_notice();
    20 							bws_show_settings_notice();
    21 						};
    21 						};
    22 					}
    22 					}
    23 				);
    23 				);
    24 				$( '.bws_save_anchor' ).on(
    24 				$( '.bws_save_anchor' ).on(