<?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 Translation of your question: in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006121#M32194</link>
    <description>&lt;P&gt;Translation of your question:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;Good Afternoon,&lt;/P&gt;

	&lt;P&gt;I'm not sure if it's a bug in XDK , but when I'm creating a button and select the Custom Script Action to the Interactivity , the Edit Script button does not appear when I do the procedure for the first time in the project it will but when I try to accomplish with another button does not appear the Edit script , and when I check the first button he has gone, soon to emulate not the script due part of the code is the same action having already inserted.&lt;/P&gt;

	&lt;P&gt;Could anyone help me with this issue ?&lt;/P&gt;

	&lt;P&gt;I'm waiting.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I'll ask one of my colleagues who is more knowledgeable in this area to see if they can help.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2015 17:17:34 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2015-07-10T17:17:34Z</dc:date>
    <item>
      <title>Botão Edit Script Sumiu</title>
      <link>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006120#M32193</link>
      <description>&lt;P&gt;Boa Tarde,&lt;/P&gt;

&lt;P&gt;Não sei se no caso é um bug do XDK, mas quando estou criando um botão e seleciono a Action para Custom Script na Interactivity, o botão Edit Script não aparece, quando realizo o procedimento pela 1 vez no projeto ele vai porém quando tento realizar com outro botão não aparece o Edit Script, e quando vou verificar o do 1 botão ele já sumiu, logo ao emular não ocorre a action mesmo já tendo inserido o script na devida parte do código.&lt;/P&gt;

&lt;P&gt;Alguém poderia me ajudar com esta questão?&lt;/P&gt;

&lt;P&gt;Fico no Aguardo.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 16:34:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006120#M32193</guid>
      <dc:creator>Patrick_F_</dc:creator>
      <dc:date>2015-07-10T16:34:13Z</dc:date>
    </item>
    <item>
      <title>Translation of your question:</title>
      <link>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006121#M32194</link>
      <description>&lt;P&gt;Translation of your question:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;Good Afternoon,&lt;/P&gt;

	&lt;P&gt;I'm not sure if it's a bug in XDK , but when I'm creating a button and select the Custom Script Action to the Interactivity , the Edit Script button does not appear when I do the procedure for the first time in the project it will but when I try to accomplish with another button does not appear the Edit script , and when I check the first button he has gone, soon to emulate not the script due part of the code is the same action having already inserted.&lt;/P&gt;

	&lt;P&gt;Could anyone help me with this issue ?&lt;/P&gt;

	&lt;P&gt;I'm waiting.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I'll ask one of my colleagues who is more knowledgeable in this area to see if they can help.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 17:17:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006121#M32194</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-07-10T17:17:34Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006122#M32195</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I am using build 2170 and for me the Interactiivty pane works correctly. The Edit Script button appears when I click an entry that has Custom Script on it. &amp;nbsp;If I add Custom Script to a button, the Edit Script button appears.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Be sure to click the entry in the Interactivity pane first. Then you'll see the Edit Script button appear for the selected entry.&lt;/P&gt;

&lt;P&gt;Also, is it possible that your edits to index_user_scripts.js have broken that file? What does JSHint say when you open it on that file?&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 17:31:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006122#M32195</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2015-07-10T17:31:12Z</dc:date>
    </item>
    <item>
      <title>Quando abro o arquivo index</title>
      <link>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006123#M32196</link>
      <description>&lt;P&gt;Quando abro o arquivo index_user_scripts.js está presente o meu código do javascript. Fiz um novo projeto, td estava funcionando até eu colocar o meu código dentro.&lt;/P&gt;

&lt;P&gt;Segue abaixo o conteúdo do arquivo index_user_scripts.js:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;(function()
{
 "use strict";
 /*
   hook up event handlers 
 */
 function register_event_handlers()
 {
    
    
     /* button  #btn_pesquisar */
    $(document).on("click", "#btn_pesquisar", function(evt)
    {
        /* your code goes here */ 
        
        
        var cep = document.getElementById("cep").value;
        $("#endereco").html("Buscando dados ...");
        
        $.ajax({
            type:"GET",
            dataType:"json",
            url:"http://republicavirtual.com.br/web_cep.php?cep='+"+ cep +"&amp;amp;formato-json",
            timeout: 2000, //2segundos
            
            success: function(cep){
            $("#endereco".html)("Endereço:" + cep.tipo_logradouro + " " + cep.logradouro)
            $("#cidade").html("Cidade: " + cep.cidade)
            $("#estado").html("Estado: " + cep.uf)
            
    });
    
    }
 document.addEventListener("app.Ready", register_event_handlers, false);
})();
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 18:11:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006123#M32196</guid>
      <dc:creator>Patrick_F_</dc:creator>
      <dc:date>2015-07-10T18:11:54Z</dc:date>
    </item>
    <item>
      <title>Your JS is broken.  Run JS</title>
      <link>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006124#M32197</link>
      <description>&lt;P&gt;Your JS is broken. &amp;nbsp;Run JS Hint. It'll point out the major problems.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="jshint.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/7695iD6A0906A2FB20D12/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="jshint.png" alt="jshint.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;In your case, the success handler function is opened, but not closed. And the Ajax options are not closed.&lt;/P&gt;

&lt;P&gt;In other words, you need } and } and ) &amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;...
     $("#estado").html("Estado: " + cep.uf)
     }
  })&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 18:36:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006124#M32197</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2015-07-10T18:36:59Z</dc:date>
    </item>
    <item>
      <title>Thx !!!!!!!!!!!</title>
      <link>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006125#M32198</link>
      <description>&lt;P&gt;Thx !!!!!!!!!!!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2015 19:45:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Bot%C3%A3o-Edit-Script-Sumiu/m-p/1006125#M32198</guid>
      <dc:creator>Patrick_F_</dc:creator>
      <dc:date>2015-07-10T19:45:20Z</dc:date>
    </item>
  </channel>
</rss>

