Changeset 5820
- Timestamp:
- 03/26/12 16:21:39 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/mail/js/label.js
r5789 r5820 46 46 function deleteLabel(event){ 47 47 var id = $(this).parents(".label-item").attr("class").match(/label-item-([\d]+[()a-zA-Z]*)/)[1]; 48 confirmDelete(id); 48 var nameLabel = winElement.find(".input-nome").val(); 49 confirmDelete(id, nameLabel); 49 50 event.stopImmediatePropagation(); 50 51 } … … 78 79 } 79 80 80 function confirmDelete(id ){81 $.Zebra_Dialog('<strong>Deseja excluir esse marcador ?</strong>', {81 function confirmDelete(id,nameLabel){ 82 $.Zebra_Dialog('<strong>Deseja excluir esse marcador '+nameLabel+' das conversas que está relacionado e excluí-lo sem remover as conversas??</strong>', { 82 83 'type': 'question', 83 84 'custom_class': (is_ie ? 'configure-zebra-dialog' : ''), … … 413 414 winElement.find(".buttons .delete-label").click(function(event){ 414 415 var id = winElement.find(".edit-label").val(); 415 confirmDelete(id); 416 var nameLabel = winElement.find(".input-nome").val(); 417 confirmDelete(id, nameLabel); 416 418 event.stopImmediatePropagation(); 417 419 });
Note: See TracChangeset
for help on using the changeset viewer.