Changeset 6311


Ignore:
Timestamp:
05/25/12 14:47:07 (12 years ago)
Author:
niltonneto
Message:

Ticket #2507 - Implementado em RestClient? botão para retornar foto do usuário logado.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/restclient/index.html

    r6156 r6311  
    4444                                </TD> 
    4545                        </TR> 
    46                         <TR><TD><b>Login</b></TD><TD><input type="text" id="user"/></TD></TR> 
     46                        <TR><TD><b>Login</b></TD> 
     47                        <TD> 
     48                                <input type="text" id="user"/> 
     49                                <input id="bt_myPicture" type="button" value="Visualizar Foto" onclick="javascript:jExecute('GetMyPicture')"/> 
     50                        </TD> 
     51                        </TR> 
    4752                        <TR><TD><b>Senha</b></TD><TD><input type="password" id="password"/> 
    4853                                        <input id="bt_login" type="button" value="Conectar" onclick="javascript:jExecute('Login')"/> 
     
    304309                                _contactType = '2'; 
    305310                                break; 
     311                        case 'GetMyPicture': 
     312                                _action = 'Catalog/ContactPicture'; 
     313                                _contactType = '2'; 
     314                                break; 
    306315 
    307316                } 
     
    317326                                                        folderID:  $('#folder_id').val(), 
    318327                                                        msgID:  $('#message_id').val(), 
    319                                                         contactID:  $(_contactID).val(), 
     328                                                        contactID:  (_contactID ? $(_contactID).val() : ""), 
    320329                                                        message: _message, 
    321330                                                        contactType:  _contactType, 
Note: See TracChangeset for help on using the changeset viewer.