Changeset 6931 for branches/2.4/expressoMail1_2/js/QuickCatalogSearch.js
- Timestamp:
- 08/03/12 15:57:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoMail1_2/js/QuickCatalogSearch.js
r6754 r6931 800 800 $( "#amount-text" ).focus(); 801 801 event.stopPropagation(); 802 } 802 if(typeof(shortcut) != 'undefined') shortcut.disabled = false; 803 }, 804 open: function(event, ui) 805 { 806 if(typeof(shortcut) != 'undefined') shortcut.disabled = true; 807 } 803 808 }); 804 809 }); … … 814 819 $(this).bind('keydown'); 815 820 $(function() { 816 $( "#dialog:ui-dialog" ).dialog( "destroy" );821 $( "#dialog:ui-dialog" ).dialog("close").dialog( "destroy" ); 817 822 $( "#dialog-modal" ).dialog({ 818 823 resizable: false, … … 832 837 content.find(field_).focus(); 833 838 } 839 if(typeof(shortcut) != 'undefined') shortcut.disabled = false; 834 840 }, 835 841 open: function () { … … 837 843 $("#selectable li:first").focus(); 838 844 document.getElementById("amount-text").focus(); 845 if(typeof(shortcut) != 'undefined') shortcut.disabled = true; 839 846 }, 840 847 focus: function (event, ui) {
Note: See TracChangeset
for help on using the changeset viewer.