Changeset 6375
- Timestamp:
- 06/01/12 10:22:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.1-3/expressoMail1_2/js/draw_api.js
r6374 r6375 3802 3802 box.unbind("dblclick").bind("dblclick", function(e){ 3803 3803 new $.Zebra_Dialog('<strong>Impossivel editar</strong> um contato do ldap\n' + 3804 '<strong>Porém</strong> é possivel remove-lo', {3804 '<strong>Porém</strong> é possivel remove-lo', { 3805 3805 'buttons': false, 3806 3806 'modal': false, … … 3837 3837 drop : function(e, ui){ 3838 3838 ui.draggable.parent().droppable( "enable" ); 3839 var haha = ui.draggable.clone(); 3840 box_actions(haha) 3841 $(this).prepend(haha); 3839 var box = ui.draggable.clone(); 3840 box_actions(box); 3841 if(box.find(".box-info").length){ 3842 box.unbind("dblclick").bind("dblclick", function(e){ 3843 new $.Zebra_Dialog('<strong>Impossivel editar</strong> um contato do ldap\n' + 3844 '<strong>Porém</strong>é possivel remove-lo', { 3845 'buttons': false, 3846 'modal': false, 3847 'position': ['right - 20', 'top + 20'], 3848 'auto_close': 3000 3849 }); 3850 }); 3851 } 3852 $(this).prepend(box); 3842 3853 ui.draggable.remove(); 3843 3854 }
Note: See TracChangeset
for help on using the changeset viewer.