Changeset 1094
- Timestamp:
- 10/15/08 15:39:35 (5 years ago)
- Files:
-
- 1 modified
-
trunk/modules/Dialogs/XinhaDialog.js (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/Dialogs/XinhaDialog.js
r1093 r1094 321 321 { 322 322 this.editor.deactivateEditor(); 323 this.editor.suspendUpdateToolbar = true; 323 324 this.editor.currentModal = dialog; 324 325 } … … 474 475 if (this.modal) 475 476 { 477 this.editor.suspendUpdateToolbar = false; 476 478 this.editor.currentModal = null; 477 479 this.editor.activateEditor(); … … 550 552 this.posBackground({top:0, left:0}); 551 553 this.resizeBackground(Xinha.Dialog.calcFullBgSize()); 554 this.editor.suspendUpdateToolbar = true; 552 555 } 553 556 ev = Xinha.getEvent(ev); 554 557 555 this.editor.suspendUpdateToolbar = true;556 558 var dialog = this; 557 559 … … 604 606 { 605 607 var dialog = this; 606 this.editor.suspendUpdateToolbar = false; 608 609 if (!this.modal) 610 { 611 this.editor.suspendUpdateToolbar = false; 612 } 607 613 608 614 if (!dialog.dragging) … … 631 637 Xinha.Dialog.prototype.resizeStart = function (ev) { 632 638 var dialog = this; 633 this.editor.suspendUpdateToolbar = true;634 639 if (dialog.resizing) 635 640 { … … 639 644 if (!this.modal) 640 645 { 646 this.editor.suspendUpdateToolbar = true; 641 647 this.posBackground({top:0, left:0}); 642 648 this.resizeBackground(Xinha.Dialog.calcFullBgSize()); … … 697 703 var dialog = this; 698 704 dialog.resizing = false; 699 this.editor.suspendUpdateToolbar = false; 705 706 if (!this.modal) 707 { 708 this.editor.suspendUpdateToolbar = false; 709 } 700 710 701 711 Xinha._removeEvent(document, "mousemove", dialog.mouseMove );
