Changeset 48e8b31 in github
- Timestamp:
- Oct 13, 2010 4:35:08 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- ad334a12
- Parents:
- f75adec
- File:
-
- 1 edited
-
program/js/googiespell.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/js/googiespell.js
rf75adec r48e8b31 83 83 // Set document's onclick to hide the language and error menu 84 84 $(document).bind('click', function(e) { 85 if($(e.target).attr('googie_action_btn') != '1' && ref.isLangWindowShown()) 85 var target = $(e.target); 86 if(target.attr('googie_action_btn') != '1' && ref.isLangWindowShown()) 86 87 ref.hideLangWindow(); 87 if( $(e.target).attr('googie_action_btn') != '1' && ref.isErrorWindowShown())88 if(target.attr('googie_action_btn') != '1' && ref.isErrorWindowShown()) 88 89 ref.hideErrorWindow(); 89 90 }); … … 578 579 579 580 var ref = this; 581 580 582 if (this.edit_layer_dbl_click) { 581 $(this.edit_layer). bind('click',function(e) {583 $(this.edit_layer).dblclick(function(e) { 582 584 if (e.target.className != 'googie_link' && !ref.isErrorWindowShown()) { 583 585 ref.resumeEditing(); … … 767 769 768 770 this.isLangWindowShown = function() { 769 return $(this.language_window).is(': hidden');771 return $(this.language_window).is(':visible'); 770 772 }; 771 773
Note: See TracChangeset
for help on using the changeset viewer.
