Revision 903,
1.0 KB
checked in by niltonneto, 15 years ago
(diff) |
Importacao inicial do Expresso do Serpro
|
Rev | Line | |
---|
[903] | 1 | /* |
---|
| 2 | * FCKeditor - The text editor for internet |
---|
| 3 | * Copyright (C) 2003-2006 Frederico Caldeira Knabben |
---|
| 4 | * |
---|
| 5 | * Licensed under the terms of the GNU Lesser General Public License: |
---|
| 6 | * http://www.opensource.org/licenses/lgpl-license.php |
---|
| 7 | * |
---|
| 8 | * For further information visit: |
---|
| 9 | * http://www.fckeditor.net/ |
---|
| 10 | * |
---|
| 11 | * "Support Open Source software. What about a donation today?" |
---|
| 12 | * |
---|
| 13 | * File Name: fckdialog_ie.js |
---|
| 14 | * Dialog windows operations. (IE specific implementations) |
---|
| 15 | * |
---|
| 16 | * File Authors: |
---|
| 17 | * Frederico Caldeira Knabben (fredck@fckeditor.net) |
---|
| 18 | */ |
---|
| 19 | |
---|
| 20 | FCKDialog.Show = function( dialogInfo, dialogName, pageUrl, dialogWidth, dialogHeight, parentWindow ) |
---|
| 21 | { |
---|
| 22 | if ( !parentWindow ) |
---|
| 23 | parentWindow = window ; |
---|
| 24 | |
---|
| 25 | FCKFocusManager.Lock() ; |
---|
| 26 | |
---|
| 27 | var oReturn ; |
---|
| 28 | |
---|
| 29 | try |
---|
| 30 | { |
---|
| 31 | oReturn = parentWindow.showModalDialog( pageUrl, dialogInfo, "dialogWidth:" + dialogWidth + "px;dialogHeight:" + dialogHeight + "px;help:no;scroll:no;status:no") ; |
---|
| 32 | } |
---|
| 33 | catch( e ) |
---|
| 34 | {} |
---|
| 35 | |
---|
| 36 | if ( !oReturn ) |
---|
| 37 | alert( FCKLang.DialogBlocked ) ; |
---|
| 38 | |
---|
| 39 | FCKFocusManager.Unlock() ; |
---|
| 40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.