Changeset 8094


Ignore:
Timestamp:
04/17/13 09:17:22 (11 years ago)
Author:
rafaelgobara
Message:

Ticket #3423 - Rename das funcoes js que chamam o plugin que carrega usuarios

Location:
trunk/workflow
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/js/adminaccess/control_folder.js

    r3255 r8094  
    416416        bt.setAttribute('name','Selecionar'); 
    417417        bt.setAttribute('value','Selecionar'); 
    418         bt.onclick = function() { openParticipants('sel_org_user', 'hidegroups=1'); }; 
     418        bt.onclick = function() { openParticipantsWindow('sel_org_user', 'hidegroups=1'); }; 
    419419        td.appendChild(bt); 
    420420 
     
    575575        bt.setAttribute('name','Selecionar'); 
    576576        bt.setAttribute('value','Selecionar'); 
    577         bt.onclick = function() { openParticipants('sel_proc_user', ''); }; 
     577        bt.onclick = function() { openParticipantsWindow('sel_proc_user', ''); }; 
    578578        td.appendChild(bt); 
    579579 
     
    726726        bt.setAttribute('name','Selecionar'); 
    727727        bt.setAttribute('value','Selecionar'); 
    728         bt.onclick = function() { openParticipants('sel_mon_user', ''); }; 
     728        bt.onclick = function() { openParticipantsWindow('sel_mon_user', ''); }; 
    729729        td.appendChild(bt); 
    730730 
     
    785785        content += '<td align="right"><input type="button" name="Remover" value="Remover" onclick="deleteExternalApplicationAdmin();"/></td>'; 
    786786        content += '<td></td>'; 
    787         content += '<td align="right"><input type="button" name="Selecionar" value="Selecionar" onclick="openParticipants(\'sel_exa_user\', \'\')"/><input type="button" name="Remover" value="Remover" onclick="del_selected_reg(\'sel_exa_user\');"/></td>'; 
     787        content += '<td align="right"><input type="button" name="Selecionar" value="Selecionar" onclick="openParticipantsWindow(\'sel_exa_user\', \'\')"/><input type="button" name="Remover" value="Remover" onclick="del_selected_reg(\'sel_exa_user\');"/></td>'; 
    788788        content += '</tr>'; 
    789789        content += '<tr><td colspan="3"></td></tr>'; 
     
    849849        content += '<td align="right"><input type="button" name="Remover" value="Remover" onclick="deleteWorkflowAdministrators();"/></td>'; 
    850850        content += '<td></td>'; 
    851         content += '<td align="right"><input type="button" name="Selecionar" value="Selecionar" onclick="openParticipants(\'selectWorkflowUsers\', \'\')"/><input type="button" name="Remover" value="Remover" onclick="del_selected_reg(\'selectWorkflowUsers\');"/></td>'; 
     851        content += '<td align="right"><input type="button" name="Selecionar" value="Selecionar" onclick="openParticipantsWindow(\'selectWorkflowUsers\', \'\')"/><input type="button" name="Remover" value="Remover" onclick="del_selected_reg(\'selectWorkflowUsers\');"/></td>'; 
    852852        content += '</tr>'; 
    853853        content += '<tr><td colspan="3"></td></tr>'; 
     
    901901        content += '<td align="right"><input type="button" name="Remover" value="Remover" onclick="deleteDevelopmentAdministrators();"/></td>'; 
    902902        content += '<td></td>'; 
    903         content += '<td align="right"><input type="button" name="Selecionar" value="Selecionar" onclick="openParticipants(\'selectDevelopmentUsers\', \'\')"/><input type="button" name="Remover" value="Remover" onclick="del_selected_reg(\'selectDevelopmentUsers\');"/></td>'; 
     903        content += '<td align="right"><input type="button" name="Selecionar" value="Selecionar" onclick="openParticipantsWindow(\'selectDevelopmentUsers\', \'\')"/><input type="button" name="Remover" value="Remover" onclick="del_selected_reg(\'selectDevelopmentUsers\');"/></td>'; 
    904904        content += '</tr>'; 
    905905        content += '<tr><td colspan="3"></td></tr>'; 
  • trunk/workflow/js/monitors/processes.js

    r795 r8094  
    101101                                content += '<td><input type="hidden" name="newUser" id="newUser" value="" />'; 
    102102                                content += '<input type="input" name="newUser_desc" id="newUser_desc" value="" readonly="true" size="32" />'; 
    103                                 content += '<a href="javascript:void(0)" onclick="openParticipants(\'newUser\', \'uid=1&hidegroups=1\');"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/add_user.png"/></a></td></tr>'; 
     103                                content += '<a href="javascript:void(0)" onclick="openParticipantsWindow(\'newUser\', \'uid=1&hidegroups=1\');"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/add_user.png"/></a></td></tr>'; 
    104104                                content += '<tr><td colspan="2"><button onclick="clickLoadActivities(' + pid + ');return false;">Próximo >></button></td></tr></table>'; 
    105105                                content += '</td>'; 
  • trunk/workflow/js/orgchart/organization.js

    r7379 r8094  
    736736        content += '<input type="hidden" name="funcionario_id" id="funcionario_id" value="" />'; 
    737737        content += '<input type="input" name="funcionario_id_desc" id="funcionario_id_desc" value="" readonly="true" size="40" />'; 
    738         content += '<a href="javascript:void(0)" onclick="openParticipants(\'funcionario_id\', \'uid=1&hidegroups=1\');" id="addEmployeeLink"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/add_user.png" /></a>'; 
     738        content += '<a href="javascript:void(0)" onclick="openParticipantsWindow(\'funcionario_id\', \'uid=1&hidegroups=1\');" id="addEmployeeLink"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/add_user.png" /></a>'; 
    739739        content += '</td></tr>'; 
    740740        content += '<tr><td><label for="funcionario_status_id">Status</label></td><td id="comboStatus"><i>carregando</i></td></tr>'; 
     
    801801        content += '<input type="hidden" name="titular_funcionario_id" id="titular_funcionario_id" value="" />'; 
    802802        content += '<input type="input" name="titular_funcionario_id_desc" id="titular_funcionario_id_desc" value="" readonly="true" size="40" />'; 
    803         content += '<a href="javascript:void(0)" onclick="openParticipants(\'titular_funcionario_id\', \'uid=1&hidegroups=1\');"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/add_user.png" /></a>'; 
     803        content += '<a href="javascript:void(0)" onclick="openParticipantsWindow(\'titular_funcionario_id\', \'uid=1&hidegroups=1\');"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/add_user.png" /></a>'; 
    804804        content += ' <a href="javascript:void(0)" onclick="$(\'titular_funcionario_id\').value=\'\'; $(\'titular_funcionario_id_desc\').value=\'\'; return false;"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/delete_user.png" /></a>'; 
    805805        content += '</td></tr>'; 
     
    807807        content += '<input type="hidden" name="auxiliar_funcionario_id" id="auxiliar_funcionario_id" value="" />'; 
    808808        content += '<input type="input" name="auxiliar_funcionario_id_desc" id="auxiliar_funcionario_id_desc" value="" readonly="true" size="40" />'; 
    809         content += '<a href="javascript:void(0)" onclick="openParticipants(\'auxiliar_funcionario_id\', \'uid=1&hidegroups=1\');"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/add_user.png" /></a>'; 
     809        content += '<a href="javascript:void(0)" onclick="openParticipantsWindow(\'auxiliar_funcionario_id\', \'uid=1&hidegroups=1\');"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/add_user.png" /></a>'; 
    810810        content += ' <a href="javascript:void(0)" onclick="$(\'auxiliar_funcionario_id\').value=\'\'; $(\'auxiliar_funcionario_id_desc\').value=\'\'; return false;"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/delete_user.png" /></a>'; 
    811811        content += '</td></tr>'; 
     
    882882        content += '<input type="hidden" name="substituto_funcionario_id" id="substituto_funcionario_id" value="" />'; 
    883883        content += '<input type="input" name="substituto_funcionario_id_desc" id="substituto_funcionario_id_desc" value="" readonly="true" size="40" />'; 
    884         content += '<a href="javascript:void(0)" onclick="openParticipants(\'substituto_funcionario_id\', \'uid=1&hidegroups=1\');"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/add_user.png" /></a>'; 
     884        content += '<a href="javascript:void(0)" onclick="openParticipantsWindow(\'substituto_funcionario_id\', \'uid=1&hidegroups=1\');"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/add_user.png" /></a>'; 
    885885        content += ' <a href="javascript:void(0)" onclick="$(\'substituto_funcionario_id\').value=\'\'; $(\'substituto_funcionario_id_desc\').value=\'\'; return false;"><img border="0" width="16" height="16" src="workflow/templateFile.php?file=images/delete_user.png" /></a>'; 
    886886        content += '</td></tr>'; 
  • trunk/workflow/templates/default/admin_activities.tpl

    r1710 r8094  
    178178                        <div id="div_default_user_option_0" style="display:none;"> 
    179179                                <input type="input" name="default_user_desc" id="default_user_desc" value="{wf_default_user_desc}" readonly="true" size="40" /> 
    180                                 <a href="javascript:void(0)" onclick="openParticipants('default_user', 'uid=1&hidegroups=1');"><img border="0" src="workflow/templateFile.php?file=images/add_user.png" /></a> 
     180                                <a href="javascript:void(0)" onclick="openParticipantsWindow('default_user', 'uid=1&hidegroups=1');"><img border="0" src="workflow/templateFile.php?file=images/add_user.png" /></a> 
    181181                                <button onclick="document.getElementById('default_user_desc').value=''; document.getElementById('default_user').value='*'; return false">{lang_without_default_user}</button> 
    182182                                <br> 
  • trunk/workflow/templates/default/admin_roles.tpl

    r795 r8094  
    123123                                </select> 
    124124                        </td><td valign=center align=center> 
    125                                 <a href='javascript:void(0)' onclick="openParticipants('user_list', 'entities=ug&usePreffix=1');"><img border=0 src={src_img_add_users}></a> 
     125                                <a href='javascript:void(0)' onclick="openParticipantsWindow('user_list', 'entities=ug&usePreffix=1');"><img border=0 src={src_img_add_users}></a> 
    126126                                <br> 
    127                                 <a href='javascript:void(0)' onclick="openParticipants('user_list', 'entities=ug&usePreffix=1');">{lang_Add}</a> 
     127                                <a href='javascript:void(0)' onclick="openParticipantsWindow('user_list', 'entities=ug&usePreffix=1');">{lang_Add}</a> 
    128128                                <br><br> 
    129129                                <a href="javascript:void(0)" onclick="participantsRemoveUser(document.getElementById('user_list'));"><img border=0 src={src_img_del_users}></a> 
Note: See TracChangeset for help on using the changeset viewer.