Ignore:
Timestamp:
10/08/13 16:20:46 (11 years ago)
Author:
douglas
Message:

Ticket #0000 - Copiadas as alterações do Trunk. Versão final 2.5.1.

Location:
branches/2.5/workflow/js
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/workflow/js/adminaccess/control_folder.js

    r3255 r8232  
    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>'; 
  • branches/2.5/workflow/js/jscode/participants.js

    r3729 r8232  
    364364} 
    365365 
    366 function openParticipants(target, option) 
     366function openParticipantsWindow(target, option) 
    367367{ 
    368368        newWidth   = 500; 
  • branches/2.5/workflow/js/monitors/processes.js

    r795 r8232  
    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>'; 
  • branches/2.5/workflow/js/orgchart/organization.js

    r7379 r8232  
    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>'; 
Note: See TracChangeset for help on using the changeset viewer.