CINXE.COM

React - Cookie Banner - Scripts not activated by when consent found : iubenda

<!DOCTYPE html> <!--[if lt IE 7]><html class="no-js ie6" lang="en" dir="ltr" data-date-format="non_us"><![endif]--> <!--[if IE 7]><html class="no-js ie7" lang="en" dir="ltr" data-date-format="non_us"><![endif]--> <!--[if IE 8]><html class="no-js ie8" lang="en" dir="ltr" data-date-format="non_us"><![endif]--> <!--[if IE 9]><html class="no-js ie9" lang="en" dir="ltr" data-date-format="non_us"><![endif]--> <!--[if IE 10]><html class="no-js ie10" lang="en" dir="ltr" data-date-format="non_us"><![endif]--> <!--[if (gt IE 10)|!(IE)]><!--><html class="no-js " lang="en" dir="ltr" data-date-format="non_us"><!--<![endif]--> <head> <!-- Title for the page --> <title> React - Cookie Banner - Scripts not activated by when consent found : iubenda </title> <!-- Meta information --> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="description" content= " Hello, I&#39;m working on the integration of the Cookie Banner in a React app. This is the configuration: 聽 { askConsentAtCookiePolicyUpdate: true, countryDetection: true, enableFadp: true, enableLgpd: true, enableUspr: true, lgpdAppliesGlobally: false, perPurposeConsent: true, siteId: &#39;theid&#39;, whitelabel: false, cookiePolicyId: &#39;theid&#39;, lang: &#39;thelang&#39;, cookiePolicyUrl: &#39;theurl&#39;, privacyPolicyUrl: &#39;theurl&#39;, privacyPolicyNoticeAtCollectionUrl: &#39;theurl&#39;, forceSafeActivation: true, logLevel: &#39;debug&#39;, banner: { acceptButtonCaptionColor: &#39;#000000&#39;, acceptButtonColor: &#39;#FFFFFF&#39;, acceptButtonDisplay: true, closeButtonDisplay: false, customizeButtonDisplay: true, explicitWithdrawal: true, listPurposes: true, position: &#39;float-bottom-right&#39;, rejectButtonCaptionColor: &#39;#FFFFFF&#39;, rejectButtonColor: &#39;#000000&#39;, rejectButtonDisplay: true, showTitle: false, }, } 聽When the page loads Iubenda&#39;s code blocks every script even if the consent has been given and it doesn&#39;t activate them back anymore. What are the possibile causes and solutions? Thanks " /> <meta name="author" content= "" /> <meta property="og:title" content="React - Cookie Banner - Scripts not activated by when consent found" /> <meta property="og:url" content="https://support.iubenda.com/support/discussions/topics/42000306446" /> <meta property="og:image" content="/assets/misc/logo.png?702017" /> <meta property="og:site_name" content="iubenda" /> <meta property="og:type" content="article" /> <meta name="twitter:title" content="React - Cookie Banner - Scripts not activated by when consent found" /> <meta name="twitter:url" content="https://support.iubenda.com/support/discussions/topics/42000306446" /> <meta name="twitter:image" content="/assets/misc/logo.png?702017" /> <meta name="twitter:card" content="summary" /> <link rel="canonical" href="https://support.iubenda.com/support/discussions/topics/42000306446" /> <!-- Responsive setting --> <link rel="apple-touch-icon" href="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/42019141823/fav_icon/fWi6ySWulKYemnWPoGUt3-vgx8CWDbD3Fg.png" /> <link rel="apple-touch-icon" sizes="72x72" href="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/42019141823/fav_icon/fWi6ySWulKYemnWPoGUt3-vgx8CWDbD3Fg.png" /> <link rel="apple-touch-icon" sizes="114x114" href="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/42019141823/fav_icon/fWi6ySWulKYemnWPoGUt3-vgx8CWDbD3Fg.png" /> <link rel="apple-touch-icon" sizes="144x144" href="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/42019141823/fav_icon/fWi6ySWulKYemnWPoGUt3-vgx8CWDbD3Fg.png" /> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,300italic,300,400italic,500,500italic,700,700italic" type="text/css" /> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" /> <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.magnific-popup/1.0.0/magnific-popup.css" /> <!-- Adding meta tag for CSRF token --> <meta name="csrf-param" content="authenticity_token" /> <meta name="csrf-token" content="bCbEKZmrZhxng7M91q8s+mYNpAbaIlBKnZyYv092oyQszoyQPmA+Stli2IQxoOOf3ia9Pr5cHocP5uUcuDvS7Q==" /> <!-- End meta tag for CSRF token --> <!-- Fav icon for portal --> <link rel='shortcut icon' href='https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/42019141823/fav_icon/fWi6ySWulKYemnWPoGUt3-vgx8CWDbD3Fg.png' /> <!-- Base stylesheet --> <link rel="stylesheet" media="print" href="https://assets6.freshdesk.com/assets/cdn/portal_print-6e04b27f27ab27faab81f917d275d593fa892ce13150854024baaf983b3f4326.css" /> <link rel="stylesheet" media="screen" href="https://assets8.freshdesk.com/assets/cdn/falcon_portal_utils-8a3bd29b9a0d9073b84cf03839a2c189deb1814f7005c605c7b7dea19acb786d.css" /> <!-- Theme stylesheet --> <link href="/support/theme.css?v=3&amp;d=1655818342" media="screen" rel="stylesheet" type="text/css"> <!-- Google font url if present --> <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:regular,italic,600,700,700italic|Poppins:regular,600,700' rel='stylesheet' type='text/css'> <!-- Including default portal based script framework at the top --> <script src="https://assets5.freshdesk.com/assets/cdn/portal_head_v2-36ab34a3681b18368e238876f238180a275ea33aef5344965eaf6f636dc8721b.js"></script> <!-- Including syntexhighlighter for portal --> <script src="https://assets3.freshdesk.com/assets/cdn/prism-2276a193401841df09503806d718e88dcbf9c2117a3b5a1fc1065c2c8d0bc1bd.js"></script> <!-- Access portal settings information via javascript --> <script type="text/javascript"> var portal = {"language":"en","name":"iubenda","contact_info":"","current_page_name":"topic_view","current_tab":"forums","vault_service":{"url":"https://vault-service.freshworks.com/data","max_try":2,"product_name":"fd"},"current_account_id":888778,"preferences":{"bg_color":"#f3f5f7","header_color":"#ffffff","help_center_color":"#f3f5f7","footer_color":"#183247","tab_color":"#ffffff","tab_hover_color":"#02b875","btn_background":"#f3f5f7","btn_primary_background":"#02b875","baseFont":"Source Sans Pro","textColor":"#183247","headingsFont":"Poppins","headingsColor":"#183247","linkColor":"#183247","linkColorHover":"#2753d7","inputFocusRingColor":"#02b875","nonResponsive":"false","personalized_articles":true},"image_placeholders":{"spacer":"https://assets9.freshdesk.com/assets/misc/spacer.gif","profile_thumb":"https://assets9.freshdesk.com/assets/misc/profile_blank_thumb-4a7b26415585aebbd79863bd5497100b1ea52bab8df8db7a1aecae4da879fd96.jpg","profile_medium":"https://assets9.freshdesk.com/assets/misc/profile_blank_medium-1dfbfbae68bb67de0258044a99f62e94144f1cc34efeea73e3fb85fe51bc1a2c.jpg"},"falcon_portal_theme":true}; var attachment_size = 20; var blocked_extensions = ""; </script> </head> <body> <!-- Notification Messages --> <div class="alert alert-with-close notice" id="noticeajax" style="display:none;"></div> <div class="layout layout--anonymous"> <div class="layout__header"> <header class="topbar container" data-topbar> <div class="topbar__inner container-inner"> <div class="topbar__col"> <div> <div class="logo-wrapper"> <div class="logo"> <a href="https://www.iubenda.com"> <img src="https://s3-us-west-2.amazonaws.com/breezythemes/iubenda/logo-new.svg" alt="Logo"> </a> </div> </div> <p class="help-center-name">support home</p> </div> <a class="topbar__link back-to" href="https://www.iubenda.com/">Back to website</a> <button type="button" role="button" aria-label="Toggle Navigation" class="lines-button" data-toggle-menu> <span class="lines"></span> </button> </div> <div class="topbar__col topbar__menu"> <div class="topbar__collapse" data-menu> <div class="topbar__controls topbar__controls--anonymous"> <!-- <a class="btn btn-topbar" href="/support/tickets/new">Submit a ticket</a> <a class="btn btn-topbar" href="/support/tickets">My Tickets</a> --> <div class="welcome">Welcome <b></b> </div> <b><a href="/support/login"><b>Login</b></a></b> &nbsp;<b><a href="/support/signup"><b>Sign up</b></a></b> </div> </div> </div> </div> </header> </div> <!-- <div class="container"> <div class="container-inner"> <div class="custom-search"> <form class="hc-search-form print--remove" autocomplete="off" action="/support/search/topics" id="hc-search-form" data-csrf-ignore="true"> <div class="hc-search-input"> <label for="support-search-input" class="hide">Enter your search term here...</label> <input placeholder="Enter your search term here..." type="text" name="term" class="special" value="" rel="page-search" data-max-matches="10" id="support-search-input"> </div> <div class="hc-search-button"> <button class="btn btn-primary" aria-label="Search" type="submit" autocomplete="off"> <i class="mobile-icon-search hide-tablet"></i> <span class="hide-in-mobile"> Search </span> </button> </div> </form> </div> </div> </div> --> <div class="layout__content"> <!-- Search and page links for the page --> <div class="container"> <div class="container-inner clearfix"> <div class="topic-page"> <ol class="breadcrumbs"> <li title="Discussions"> <a href="/support/discussions">Discussions</a> </li> <li> <a href="/support/discussions/42000029143">iubenda Forum</a> </li> <li> <a href="/support/discussions/forums/42000115771">General requests</a> </li> </ol> <div class="row clearfix"> <div class="column column--sm-8"> <article class="topic"> <div class="topic__body"> <div class="topic-labels"><span class="label label-solved"> Solved</span></div> <h1 class="topic__title">React - Cookie Banner - Scripts not activated by when consent found</h1> <div class="entry-info topic__meta"> <div class="entry-info__avatar"> <div class="avatar"> <div class="user-pic-thumb image-lazy-load user-pointer-bottom"> <div class="thumb avatar-text circle text-center bg-9"> A </div> </div> </div> </div> <div class="entry-info__content"> <b class="author"> Antonio Cavestro </b> <div class="meta">started a topic <span class='timeago' title='Fri, 1 Mar, 2024 at 12:54 PM' data-timeago='2024-03-01 12:54:32 +0100' data-livestamp='2024-03-01 12:54:32 +0100'> 9 months ago </span> </div> </div> </div> <div class="topic__text markdown"> <div dir="ltr"><p>Hello,</p><p>I'm working on the integration of the Cookie Banner in a React app.</p><p>This is the configuration:</p><p>&nbsp;</p><pre rel="highlighter" data-code-brush="js" class="code-large">{ askConsentAtCookiePolicyUpdate: true, countryDetection: true, enableFadp: true, enableLgpd: true, enableUspr: true, lgpdAppliesGlobally: false, perPurposeConsent: true, siteId: 'theid', whitelabel: false, cookiePolicyId: 'theid', lang: 'thelang', cookiePolicyUrl: 'theurl', privacyPolicyUrl: 'theurl', privacyPolicyNoticeAtCollectionUrl: 'theurl', forceSafeActivation: true, logLevel: 'debug', banner: { acceptButtonCaptionColor: '#000000', acceptButtonColor: '#FFFFFF', acceptButtonDisplay: true, closeButtonDisplay: false, customizeButtonDisplay: true, explicitWithdrawal: true, listPurposes: true, position: 'float-bottom-right', rejectButtonCaptionColor: '#FFFFFF', rejectButtonColor: '#000000', rejectButtonDisplay: true, showTitle: false, }, }</pre><p></p><p>&nbsp;When the page loads Iubenda's code blocks every script even if the consent has been given and it doesn't activate them back anymore.</p><p>What are the possibile causes and solutions?</p><p>Thanks</p> </div> </div> <div class="topic__attachments"> </div> <div id="vote-toolbar"> </div> </div> </article> <section class="comments" id="comments" itemscope itemtype="http://schema.org/UserComments"> <ul class="comments__list"> <li class="comment" id="post-42000318588"> <div class="comment__inner"> <div class="comment__content"> <div class="entry-info comment__header"> <div class="entry-info__avatar"> <div class="avatar"> <div class="user-pic-thumb image-lazy-load user-pointer-bottom"> <div class="thumb avatar-text circle text-center bg-9"> A </div> </div> </div> </div> <div class="entry-info__content"> <b class="author"> Antonio Cavestro </b> <div class="meta"> said <span class='timeago' title='Fri, 1 Mar, 2024 at 1:02 PM' data-timeago='2024-03-01 13:02:38 +0100' data-livestamp='2024-03-01 13:02:38 +0100'> 9 months ago </span> </div> </div> </div> <div class="comment__body markdown"> <div dir="ltr"><p>By the way, these are the scripts I'm loading:</p><p><br></p><p>&nbsp;</p><pre rel="highlighter" data-code-brush="text" contenteditable="false"> https://cs.iubenda.com/autoblocking/thesiteid.js //cdn.iubenda.com/cs/gpp/stub.js https://cdn.iubenda.com/cs/stable/safe.js //cdn.iubenda.com/cs/iubenda_cs.js</pre><p></p><p>&nbsp;</p> </div> </div> <div class='btn-group' id='post-42000318588-vote-toolbar'></div> </div> </div> </li> <li class="comment" id="post-42000321140"> <div class="comment__inner"> <div class="comment__content"> <div class="entry-info comment__header"> <div class="entry-info__avatar"> <div class="avatar"> <div class="user-pic-thumb image-lazy-load user-pointer-bottom"> <div class="thumb avatar-text circle text-center bg-1"> S </div> </div> </div> </div> <div class="entry-info__content"> <b class="author"> Sahar Amini </b> <div class="meta"> said <span class='timeago' title='Mon, 7 Oct, 2024 at 5:30 PM' data-timeago='2024-10-07 17:30:47 +0200' data-livestamp='2024-10-07 17:30:47 +0200'> about 2 months ago </span> </div> </div> </div> <div class="comment__body markdown"> <div dir="ltr"><p style="word-break: break-word; color: rgb(0, 0, 0); font-family: -apple-system, &quot;system-ui&quot;, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 14px;">Hi Antonio,&nbsp;</p><p style="word-break: break-word; color: rgb(0, 0, 0); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;; min-height: 15px;"><br></p><p style="word-break: break-word; color: rgb(0, 0, 0); font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;; min-height: 15px;"><br></p><p class="p1" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-size-adjust: none; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-variant-position: normal; font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(0, 0, 0);"></p><p style="word-break: break-word; color: rgb(0, 0, 0); font-family: -apple-system, &quot;system-ui&quot;, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, Arial, sans-serif; font-size: 14px;">Could you please try adding the&nbsp;"purposes":"1,2,3,4,5" to&nbsp;the script of the Privacy Controls and Cookie Solution?<br><br>You can learn more about this here: <a href="https://www.iubenda.com/en/help/1205-how-to-configure-your-cookie-solution-advanced-guide">https://www.iubenda.com/en/help/1205-how-to-configure-your-cookie-solution-advanced-guide</a><br><br>Should you require further assistance, please let us know.</p><p><span style="font-size: 16px; text-align: initial;"></span></p> </div> </div> <div class='btn-group' id='post-42000321140-vote-toolbar'></div> </div> </div> </li> </ul> <section class="lead"><a href="/support/discussions/topics/42000306446/reply">Login</a> or <a href="/support/signup">Signup</a> to post a comment</section> </section> </div> <div class="column column--sm-4"> <div class="related-topics"> <h5 class="related-topics__title">Topics in this forum</h5> <ul class="related-topics__list"> <li class="related-topics__item"> <a href="related-topics__link">Cache and Optimisation of the Iubenda Script</a> </li> <li class="related-topics__item"> <a href="related-topics__link">Yoast SEO Or Rank Math SEO Plugin , Which one is better</a> </li> <li class="related-topics__item"> <a href="related-topics__link">PageSpeed Insights - Related Warnings</a> </li> <li class="related-topics__item"> <a href="related-topics__link">Yoast Seo Premium &amp; Wp Rocket</a> </li> <li class="related-topics__item"> <a href="related-topics__link">React - Cookie Banner - Scripts not activated by when consent found</a> </li> </ul> <a href="/support/discussions/topics/42000306446" class="btn btn-default"> View all (56) </a> </div> <div class="topic-callout"> <h3 class="topic-callout__title">Didn't find what you were looking for?</h3> <p class="topic-buttons"><a href="/support/discussions/topics/new?forum_id=42000115771" title="Start a new topic">Start a new topic</a></p> </div> </div> </div> </div> </div> </div> </div> <div class="layout__footer"> <footer class="footer-container container"> <div class="container-inner"> <div class="copyright"> <a href=https://www.freshworks.com/freshdesk/?utm_source=portal&utm_medium=reflink&utm_campaign=portal_reflink target="_blank" rel="nofollow"> Help Desk Software </a> by Freshdesk </div> </div> </footer> <a href="#" class="scroll-to-top fa fa-angle-up" data-scroll-to-top></a> </div> </div> <script src="//cdn.jsdelivr.net/jquery.magnific-popup/1.0.0/jquery.magnific-popup.min.js"></script> <script type="text/javascript"> (function($) { var BT_SETTINGS = { css: { activeClass: 'is-active', hiddenClass: 'is-hidden' } }; // Social share popups $('.share a').click(function (e) { e.preventDefault(); window.open(this.href, "", "height = 500, width = 500"); }); $('[data-toggle-menu]').click(function(){ $(this).toggleClass(BT_SETTINGS.css.activeClass); $('[data-menu]').toggle(); }); $('.image-with-lightbox').magnificPopup({ type: 'image', closeOnContentClick: true, closeBtnInside: false, fixedContentPos: true, mainClass: 'mfp-with-zoom', // class to remove default margin from left and right side image: { verticalFit: true }, zoom: { enabled: true, duration: 300 // don't foget to change the duration also in CSS } }); $('.image-with-video-icon').magnificPopup({ disableOn: 700, type: 'iframe', mainClass: 'mfp-fade', removalDelay: 160, preloader: false, fixedContentPos: false }); $('.accordion__item-title').on('click', function() { var $title = $(this); $title.toggleClass('accordion__item-title--active'); $title .parents('.accordion__item') .find('.accordion__item-content') .slideToggle(); }); $('.tabs-link').click(function (e) { e.preventDefault(); var $link = $(this); var tabIndex = $link.index(); var $tab = $link.parents('.tabs').find('.tab').eq(tabIndex); $link .addClass(BT_SETTINGS.css.activeClass) .siblings() .removeClass(BT_SETTINGS.css.activeClass); $tab .removeClass(BT_SETTINGS.css.hiddenClass) .siblings('.tab') .addClass(BT_SETTINGS.css.hiddenClass); }); $('.fa-spin').empty(); var $window = $(window); var $topbar = $('[data-topbar]'); var topbarHeight = parseInt($topbar.height()); var $scrollToTop = $('[data-scroll-to-top]'); $scrollToTop.click(function(){ $('html, body').animate({ scrollTop: 0}, 1000); return false; }); var bindEffects = function() { var scrolled = $window.scrollTop(); if (scrolled > topbarHeight) { $scrollToTop.addClass(BT_SETTINGS.css.activeClass); } else { $scrollToTop.removeClass(BT_SETTINGS.css.activeClass); } }; $window.on('scroll.theme', bindEffects); })(jQuery); </script> <script src="https://assets10.freshdesk.com/assets/cdn/portal_bottom-34a98e1f6e4a2d6122e54625f7eba21c503bf0939cb4dc65326f10aa37467e4f.js"></script> <script src="https://assets4.freshdesk.com/assets/cdn/redactor-10a54c9b6ce9a442c8a2e6a131947e0d106a4af7c5b98360494520fc5245be28.js"></script> <script src="https://assets3.freshdesk.com/assets/cdn/lang/en-4a75f878b88f0e355c2d9c4c8856e16e0e8e74807c9787aaba7ef13f18c8d691.js"></script> <!-- for i18n-js translations --> <script src="https://assets5.freshdesk.com/assets/cdn/i18n/portal/en-89d70c1cfc14e8bfd1100be59d517490352cdbdeb82858862f30e630a2a10c2a.js"></script> <!-- Including default portal based script at the bottom --> <script> //<![CDATA[ jQuery(document).ready(function() { // Setting the locale for moment js moment.lang('en'); var validation_meassages = {"required":"This field is required.","remote":"Please fix this field.","email":"Please enter a valid email address.","url":"Please enter a valid URL.","date":"Please enter a valid date.","dateISO":"Please enter a valid date ( ISO ).","number":"Please enter a valid number.","digits":"Please enter only digits.","creditcard":"Please enter a valid credit card number.","equalTo":"Please enter the same value again.","two_decimal_place_warning":"Value cannot have more than 2 decimal digits","select2_minimum_limit":"Please type %{char_count} or more letters","select2_maximum_limit":"You can only select %{limit} %{container}","maxlength":"Please enter no more than {0} characters.","minlength":"Please enter at least {0} characters.","rangelength":"Please enter a value between {0} and {1} characters long.","range":"Please enter a value between {0} and {1}.","max":"Please enter a value less than or equal to {0}.","min":"Please enter a value greater than or equal to {0}.","select2_maximum_limit_jq":"You can only select {0} {1}","facebook_limit_exceed":"Your Facebook reply was over 8000 characters. You'll have to be more clever.","messenger_limit_exceeded":"Oops! You have exceeded Messenger Platform's character limit. Please modify your response.","not_equal_to":"This element should not be equal to","email_address_invalid":"One or more email addresses are invalid.","twitter_limit_exceed":"Oops! You have exceeded Twitter's character limit. You'll have to modify your response.","password_does_not_match":"The passwords don't match. Please try again.","valid_hours":"Please enter a valid hours.","reply_limit_exceed":"Your reply was over 2000 characters. You'll have to be more clever.","url_format":"Invalid URL format","url_without_slash":"Please enter a valid URL without '/'","link_back_url":"Please enter a valid linkback URL","requester_validation":"Please enter a valid requester details or <a href=\"#\" id=\"add_requester_btn_proxy\">add new requester.</a>","agent_validation":"Please enter valid agent details","email_or_phone":"Please enter a Email or Phone Number","upload_mb_limit":"Upload exceeds the available 15MB limit","invalid_image":"Invalid image format","atleast_one_role":"At least one role is required for the agent","invalid_time":"Invalid time.","remote_fail":"Remote validation failed","trim_spaces":"Auto trim of leading & trailing whitespace","hex_color_invalid":"Please enter a valid hex color value.","name_duplication":"The name already exists.","invalid_value":"Invalid value","invalid_regex":"Invalid Regular Expression","same_folder":"Cannot move to the same folder.","maxlength_255":"Please enter less than 255 characters","decimal_digit_valid":"Value cannot have more than 2 decimal digits","atleast_one_field":"Please fill at least {0} of these fields.","atleast_one_portal":"Select atleast one portal.","custom_header":"Please type custom header in the format - header : value","same_password":"Should be same as Password","select2_no_match":"No matching %{container} found","integration_no_match":"no matching data...","time":"Please enter a valid time","valid_contact":"Please add a valid contact","field_invalid":"This field is invalid","select_atleast_one":"Select at least one option."} jQuery.extend(jQuery.validator.messages, validation_meassages ); jQuery(".call_duration").each(function () { var format,time; if (jQuery(this).data("time") === undefined) { return; } if(jQuery(this).hasClass('freshcaller')){ return; } time = jQuery(this).data("time"); if (time>=3600) { format = "hh:mm:ss"; } else { format = "mm:ss"; } jQuery(this).html(time.toTime(format)); }); }); // Shortcuts variables var Shortcuts = {"global":{"help":"?","save":"mod+return","cancel":"esc","search":"/","status_dialog":"mod+alt+return","save_cuctomization":"mod+shift+s"},"app_nav":{"dashboard":"g d","tickets":"g t","social":"g e","solutions":"g s","forums":"g f","customers":"g c","reports":"g r","admin":"g a","ticket_new":"g n","compose_email":"g m"},"pagination":{"previous":"alt+left","next":"alt+right","alt_previous":"j","alt_next":"k"},"ticket_list":{"ticket_show":"return","select":"x","select_all":"shift+x","search_view":"v","show_description":"space","unwatch":"w","delete":"#","pickup":"@","spam":"!","close":"~","silent_close":"alt+shift+`","undo":"z","reply":"r","forward":"f","add_note":"n","scenario":"s"},"ticket_detail":{"toggle_watcher":"w","reply":"r","forward":"f","add_note":"n","close":"~","silent_close":"alt+shift+`","add_time":"m","spam":"!","delete":"#","show_activities_toggle":"}","properties":"p","expand":"]","undo":"z","select_watcher":"shift+w","go_to_next":["j","down"],"go_to_previous":["k","up"],"scenario":"s","pickup":"@","collaboration":"d"},"social_stream":{"search":"s","go_to_next":["j","down"],"go_to_previous":["k","up"],"open_stream":["space","return"],"close":"esc","reply":"r","retweet":"shift+r"},"portal_customizations":{"preview":"mod+shift+p"},"discussions":{"toggle_following":"w","add_follower":"shift+w","reply_topic":"r"}}; // Date formats var DATE_FORMATS = {"non_us":{"moment_date_with_week":"ddd, D MMM, YYYY","datepicker":"d M, yy","datepicker_escaped":"d M yy","datepicker_full_date":"D, d M, yy","mediumDate":"d MMM, yyyy"},"us":{"moment_date_with_week":"ddd, MMM D, YYYY","datepicker":"M d, yy","datepicker_escaped":"M d yy","datepicker_full_date":"D, M d, yy","mediumDate":"MMM d, yyyy"}}; var lang = { loadingText: "Please Wait...", viewAllTickets: "View all tickets" }; //]]> </script> <img src='/support/discussions/topics/42000306446/hit' alt='Topic views count' aria-hidden='true'/> <script type="text/javascript"> I18n.defaultLocale = "en"; I18n.locale = "en"; </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10