~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/htdocs/applets/FCKeditor/editor/_source/internals/fckdialog.js

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
Import upstream version 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * FCKeditor - The text editor for internet
 
3
 * Copyright (C) 2003-2005 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.js
 
14
 *      Dialog windows operations.
 
15
 * 
 
16
 * File Authors:
 
17
 *              Frederico Caldeira Knabben (fredck@fckeditor.net)
 
18
 */
 
19
 
 
20
var FCKDialog = new Object() ;
 
21
 
 
22
// This method opens a dialog window using the standard dialog template.
 
23
FCKDialog.OpenDialog = function( dialogName, dialogTitle, dialogPage, width, height, customValue, parentWindow, resizable )
 
24
{
 
25
        // Setup the dialog info.
 
26
        var oDialogInfo = new Object() ;
 
27
        oDialogInfo.Title = dialogTitle ;
 
28
        oDialogInfo.Page = dialogPage ;
 
29
        oDialogInfo.Editor = window ;
 
30
        oDialogInfo.CustomValue = customValue ;         // Optional
 
31
        
 
32
        var sUrl = FCKConfig.BasePath + 'fckdialog.html' ;
 
33
        this.Show( oDialogInfo, dialogName, sUrl, width, height, parentWindow, resizable ) ;
 
34
}