Changeset 7819 for sandbox


Ignore:
Timestamp:
01/31/13 10:33:13 (11 years ago)
Author:
alexandrecorreia
Message:

Ticket #2507 - Ajustando parâmetros da execute.js.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/restclient_new/js/execute.js

    r7818 r7819  
    55        function addResources() 
    66        { 
    7                 var param = resources_expresso; 
    8  
    97                divResources = $("#resources_expresso"); 
    108 
    11                 divResources.html(" "); 
    12  
    13                 divResources.html( new EJS({ url: './templates/resources.ejs'}).render({ resources : param })); 
     9                divResources.html( new EJS({ url: './templates/resources.ejs'}).render({ resources : resources_expresso })); 
    1410                 
    1511                divResources.accordion( 
     
    1915                }); 
    2016 
    21                 for( var i in param ) 
    22                 { 
    23                         $("#sub_"+param[i].id).accordion( 
     17                for( var i in resources_expresso ) 
     18                { 
     19                        $("#sub_"+resources_expresso[i].id).accordion( 
    2420                        { 
    2521                                collapsible: true, 
     
    168164                                var obj = JQuery.parseJSON(response); 
    169165 
     166                                $("#key_auth_server_expresso").find("span").html("USUÁRIO NÃO AUTENTICADO"); 
     167                                        $("#key_auth_server_expresso").find("input[type=hidden]").val(""); 
     168 
    170169                                var divError = $("#error_"+resources_expresso[rest].id ); 
    171170 
Note: See TracChangeset for help on using the changeset viewer.