<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ISE 1.3 - Guest Portal - Custom JavaScript elements not correctly loaded in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/ise-1-3-guest-portal-custom-javascript-elements-not-correctly/m-p/3442662#M539640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, goal here is to hide AUP page (and auto approve it). Once customer is disabling AUP they have some other problem --- redirection is not working properly, however I would like to to check if that would be possible to hide AUP page + click accept button in the background using js -- that would solve the problem here quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems, ISE pushes that Script twice some times. It is only once in the configuration. Issue is visible on all devices (not only apple).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway seems it will be not so easy so I will try to solve that from other side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Wojciech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 14:25:48 GMT</pubDate>
    <dc:creator>Wojciech Cecot</dc:creator>
    <dc:date>2016-03-16T14:25:48Z</dc:date>
    <item>
      <title>ISE 1.3 - Guest Portal - Custom JavaScript elements not correctly loaded</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-1-3-guest-portal-custom-javascript-elements-not-correctly/m-p/3442660#M539605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer is trying to customize guest portal using JavaScript (ISE 1.3 patch 6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example is this one (output as seen on the client -&amp;gt; twice the same script):&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;$(document).ready(function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("#ui_aup_accept_button").hide();&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("#ui_aup_decline_button").hide();&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(".cisco-ise-form-buttons.two-button-layout").hide();&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(".cisco-ise-content").hide();&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; $('.cisco-ise-header').addClass('ui-header-fixed ui-header-fullscreen slidedown');&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#show_aup').unbind("click").bind("click",function(){&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; alert('click');&lt;/P&gt;&lt;P&gt;&amp;nbsp; if($('#aup_container').hasClass('hidden')) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#aup_container').removeClass('hidden');&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#aup_container').addClass('hide');&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; if($('#aup_container').hasClass('hide')) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#show_aup_text').text('Nutzungsbedingungen ausblenden');&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; else {&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#show_aup_text').text('Nutzungsbedingungen einblenden');&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#aup_container').toggleClass('hide').toggleClass('show');&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("html, body").animate({ scrollTop: $(document).height() }, "slow");&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#show_aup_icon').toggleClass('rotate');&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;$(document).ready(function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("#ui_aup_accept_button").hide();&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("#ui_aup_decline_button").hide();&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(".cisco-ise-form-buttons.two-button-layout").hide();&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(".cisco-ise-content").hide();&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; $('.cisco-ise-header').addClass('ui-header-fixed ui-header-fullscreen slidedown');&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#show_aup').unbind("click").bind("click",function(){&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; alert('click');&lt;/P&gt;&lt;P&gt;&amp;nbsp; if($('#aup_container').hasClass('hidden')) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#aup_container').removeClass('hidden');&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#aup_container').addClass('hide');&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; if($('#aup_container').hasClass('hide')) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#show_aup_text').text('Nutzungsbedingungen ausblenden');&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; else {&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#show_aup_text').text('Nutzungsbedingungen einblenden');&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#aup_container').toggleClass('hide').toggleClass('show');&lt;/P&gt;&lt;P&gt;&amp;nbsp; $("html, body").animate({ scrollTop: $(document).height() }, "slow");&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#show_aup_icon').toggleClass('rotate');&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&amp;lt;br _moz_editor_bogus_node="TRUE" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To workaround the problem, they implemented&lt;/P&gt;&lt;P&gt;&amp;nbsp; $('#show_aup').unbind("click").bind("click",function(){&amp;nbsp; &lt;/P&gt;&lt;P&gt;Instead of: &lt;/P&gt;&lt;P&gt;$('#show_aup').click()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes the script is only loaded after a page refresh.&lt;/P&gt;&lt;P&gt;The goal is to auto-approve the AUP to get the client redirected to a shop page. The user should only see the shop page without the AUP...&lt;/P&gt;&lt;P&gt;We tried with just the Success page but this was not working for most of the clients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you anyone help on this? Does TAC supports that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Wojciech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 15:09:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-1-3-guest-portal-custom-javascript-elements-not-correctly/m-p/3442660#M539605</guid>
      <dc:creator>Wojciech Cecot</dc:creator>
      <dc:date>2016-03-10T15:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: ISE 1.3 - Guest Portal - Custom JavaScript elements not correctly loaded</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-1-3-guest-portal-custom-javascript-elements-not-correctly/m-p/3442661#M539623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry why the same script? Are you explaining two issues here? Is it duplicating the script twice? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have they tried using a post-login banner instead of the success page?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAC doesn't have support for creating script, if you have an expert saying something should work and there is a problem with the scripting interface with ISE then that would be supported and can open a case to work with ISE developers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What clients are failing? Is captive portal bypass enable on the controller to make sure apple devices behave and forced to use a real browser?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 15:20:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-1-3-guest-portal-custom-javascript-elements-not-correctly/m-p/3442661#M539623</guid>
      <dc:creator>Jason Kunst</dc:creator>
      <dc:date>2016-03-10T15:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: ISE 1.3 - Guest Portal - Custom JavaScript elements not correctly loaded</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-1-3-guest-portal-custom-javascript-elements-not-correctly/m-p/3442662#M539640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, goal here is to hide AUP page (and auto approve it). Once customer is disabling AUP they have some other problem --- redirection is not working properly, however I would like to to check if that would be possible to hide AUP page + click accept button in the background using js -- that would solve the problem here quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems, ISE pushes that Script twice some times. It is only once in the configuration. Issue is visible on all devices (not only apple).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway seems it will be not so easy so I will try to solve that from other side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Wojciech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 14:25:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-1-3-guest-portal-custom-javascript-elements-not-correctly/m-p/3442662#M539640</guid>
      <dc:creator>Wojciech Cecot</dc:creator>
      <dc:date>2016-03-16T14:25:48Z</dc:date>
    </item>
  </channel>
</rss>

