1jQuery(function () { 2 var product_watch_unfollow_key = location.search.split('unfollow_watched_product=')[1]; 3 if (typeof product_watch_unfollow_key != 'undefined') { 4 showLoader(); 5 new AjaxRequest({'unfollow_key': product_watch_unfollow_key}) 6 .setController("User") 7 .setAction('unfollowWatchedProduct') 8 .onSuccess(function (jsonData) { 9 hideLoader(); 10 if (jsonData.data.success === 1) { 11 var vexText = js_lang_product_watch_unfollow_confirm_msg || 'Boli ste úspešne odhlásený zo sledovania produktu'; 12 13 vex.dialog.open({ 14 className: 'vex-cs watchdog-vex', 15 message: '', 16 input: vexText, 17 buttons: [jQuery.extend({}, vex.dialog.buttons.YES)], 18 afterClose: function () { 19 if ( typeof script_manage_params_ismyid !== 'undefined' && script_manage_params_ismyid) { 20 window.location = js_global_live_site + '/sprava-uctu/'; 21 } else { 22 window.location = js_global_live_site; 23 } 24 } 25 }); 26 } else { 27 alert(js_lang_product_watch_unfollow_error_msg); 28 } 29 }) 30 .send(); 31 } 32});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.