Changeset 1455117
- Timestamp:
- 07/15/2016 08:04:11 AM (10 years ago)
- Location:
- intrigger/trunk
- Files:
-
- 6 edited
-
asset/css/admin-other.css (modified) (1 diff)
-
asset/js/back.js (modified) (7 diffs)
-
asset/js/front.js (modified) (6 diffs)
-
intrigger.php (modified) (1 diff)
-
page/page-setting.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
intrigger/trunk/asset/css/admin-other.css
r1406624 r1455117 236 236 border-color: cadetblue; 237 237 } 238 .itrr_setting_confirm_yes238 #itrr_setting_confirm_yes 239 239 { 240 240 margin-left: 20px; 241 241 border-radius: 4px; 242 242 } 243 .itrr_setting_confirm_cancel243 #itrr_setting_confirm_cancel 244 244 { 245 245 margin-left: 30px; -
intrigger/trunk/asset/js/back.js
r1406624 r1455117 220 220 }); 221 221 // for searching posts and pages by keyword 222 jQuery( '#itrr_search_posts').live('click', function(){222 jQuery(document).on('click', '#itrr_search_posts', function(){ 223 223 // hide confirm message; 224 224 jQuery('#itrr_search_posts_results_message').hide(800); … … 309 309 }); 310 310 // confirm selected lists. 311 jQuery( '#itrr_search_confirm_button').live('click', function(event){311 jQuery(document).on('click', '#itrr_search_confirm_button', function(event){ 312 312 event.preventDefault(); 313 313 var reg_url = ''; … … 353 353 }); 354 354 // click cancel 355 jQuery( '#itrr_search_cancel_button').live('click', function(event){355 jQuery(document).on('click', '#itrr_search_cancel_button', function(event){ 356 356 event.preventDefault(); 357 357 jQuery('#itrr_search_result_list_all').prop('checked' , false); … … 361 361 }); 362 362 363 jQuery( '#itrr_clear_setting').on('click', function(event){363 jQuery(document).on('click', '#itrr_clear_setting', function(event){ 364 364 event.preventDefault(); 365 365 jQuery('#itrr_clear_setting_panel').show(800); 366 366 367 367 }); 368 jQuery( '.itrr_setting_confirm_yes').on('click', function(event){368 jQuery(document).on('click', '#itrr_setting_confirm_yes', function(event){ 369 369 event.preventDefault(); 370 370 var security = jQuery('#itrr_setting_ajax_nonce').val(); … … 373 373 clear: 'yes', 374 374 security : security 375 } 375 }; 376 jQuery(this).prop("disabled", true); 377 jQuery('#itrr_clear_setting_panel').css('opacity','0.6'); 376 378 jQuery.ajax({ 377 379 url : itrr_admin_ajax_url, … … 382 384 if ( respond == 'success') 383 385 { 386 jQuery('#itrr_setting_confirm_yes').prop('disabled', false); 387 jQuery('#itrr_clear_setting_panel').css('opacity','1'); 384 388 jQuery('#itrr_clear_setting_panel').hide(); 385 389 jQuery('#itrr_setting_clear_success_message').show(400); … … 439 443 440 444 }); 441 jQuery( '.itrr_setting_confirm_cancel').on('click', function(event) {445 jQuery(document).on('click', '#itrr_setting_confirm_cancel', function(event) { 442 446 event.preventDefault(); 443 447 jQuery('#itrr_clear_setting_panel').hide(800); -
intrigger/trunk/asset/js/front.js
r1406624 r1455117 92 92 * Process continue-reading & inline & float-bar ||||| for drive-traffic & custom. 93 93 */ 94 jQuery( 'a[itrr-btn="continue"],a[itrr-btn="inline"],a[itrr-btn="float"]').live('click',function() {94 jQuery(document).on('click', 'a[itrr-btn="continue"],a[itrr-btn="inline"],a[itrr-btn="float"]', function() { 95 95 var indget_id = jQuery(this).attr('itrr-indget-id'); 96 96 var post_id = jQuery(this).attr('itrr-post-id'); … … 147 147 jQuery(this).removeClass('error'); 148 148 }); 149 jQuery( 'a[itrr-btn="continue_collect"],a[itrr-btn="inline_collect"],a[itrr-btn="float_collect"]').live('click',function() {149 jQuery(document).on('click', 'a[itrr-btn="continue_collect"],a[itrr-btn="inline_collect"],a[itrr-btn="float_collect"]', function() { 150 150 151 151 var indget_id = jQuery(this).attr('itrr-indget-id'); … … 266 266 var admin_bar = jQuery('#wpadminbar').height() != null ? jQuery('#wpadminbar').height() : 0; 267 267 268 jQuery( "#int_indget_float_close_top").live('click',function(){268 jQuery(document).on('click','#int_indget_float_close_top',function(){ 269 269 var pos = jQuery("#float_bar_wrap").height(); 270 270 jQuery("#float_bar_wrap").animate({top: -pos-100+admin_bar+"px"}); … … 272 272 jQuery("html").animate({'padding-top': admin_bar + 'px'}); 273 273 }); 274 jQuery( "#int_indget_float_open_top").live('click',function(){274 jQuery(document).on('click', '#int_indget_float_open_top', function(){ 275 275 jQuery("#float_bar_wrap").animate({'top': admin_bar + 'px'}); 276 276 jQuery("#int_indget_float_open_top").animate({top: admin_bar-96+'px'}); … … 278 278 }); 279 279 // 280 jQuery( "#int_indget_float_close_bottom").live('click',function(){280 jQuery(document).on('click', '#int_indget_float_close_bottom', function(){ 281 281 var pos = jQuery("#float_bar_wrap").height(); 282 282 jQuery("#float_bar_wrap").animate({bottom: -pos-100+"px"}); … … 284 284 jQuery("html").animate({'padding-bottom': '0px'}); 285 285 }); 286 jQuery( "#int_indget_float_open_bottom").live('click',function(){286 jQuery(document).on('click','int_indget_float_open_bottom', function(){ 287 287 jQuery("#float_bar_wrap").animate({bottom: "0px"}); 288 288 jQuery("#int_indget_float_open_bottom").animate({bottom: "-96px"}); -
intrigger/trunk/intrigger.php
r1436965 r1455117 4 4 Plugin URI: http://intriggerapp.com/ 5 5 Description: InTrigger Plugin allows webmasters to set up on-site personalization scenarios in order to generate more subscribers and conversions. 6 Version: 1.0. 36 Version: 1.0.4 7 7 Author: InTrigger 8 8 Author URI: http://intriggerapp.com/ -
intrigger/trunk/page/page-setting.php
r1436965 r1455117 186 186 </div> 187 187 <div class="itrr_setting_confirm_buttons"> 188 <button class="itrr_setting_confirm_yesitrr_button"><?php _e('Yes' , 'itrr_lang');?></button>189 <button class="itrr_setting_confirm_cancelitrr_button"><?php _e('No' , 'itrr_lang'); ?></button>188 <button id="itrr_setting_confirm_yes" class="itrr_button"><?php _e('Yes' , 'itrr_lang');?></button> 189 <button id="itrr_setting_confirm_cancel" class="itrr_button"><?php _e('No' , 'itrr_lang'); ?></button> 190 190 </div> 191 191 </div> -
intrigger/trunk/readme.txt
r1436965 r1455117 120 120 * Fix statistics issue in Scenarios / Indgets pages 121 121 = 1.0.3 = 122 * add Pages excluded rules 122 * Add Pages excluded rules 123 = 1.0.4 = 124 * Fix deprecated jQuery function.
Note: See TracChangeset
for help on using the changeset viewer.