Changeset 591
- Timestamp:
- 04/16/09 12:08:48 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wymeditor/jquery.wymeditor.js
r588 r591 515 515 dialogFeatures: "menubar=no,titlebar=no,toolbar=no,resizable=no" 516 516 + ",width=560,height=300,top=0,left=0", 517 dialogFeaturesPreview: "menubar=no,titlebar=no,toolbar=no,resizable=no" 518 + ",scrollbars=yes,width=560,height=300,top=0,left=0", 517 519 518 520 dialogHtml: "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'" … … 936 938 937 939 case WYMeditor.PREVIEW: 938 this.dialog(WYMeditor.PREVIEW );940 this.dialog(WYMeditor.PREVIEW, this._options.dialogFeaturesPreview); 939 941 break; 940 942 … … 1144 1146 * @description Opens a dialog box 1145 1147 */ 1146 WYMeditor.editor.prototype.dialog = function( dialogType, bodyHtml ) {1148 WYMeditor.editor.prototype.dialog = function( dialogType, dialogFeatures, bodyHtml ) { 1147 1149 1148 var wDialog = window.open( 1149 '', 1150 'dialog', 1151 this._wym._options.dialogFeatures); 1150 var features = dialogFeatures || this._wym._options.dialogFeatures; 1151 var wDialog = window.open('', 'dialog', features); 1152 1152 1153 1153 if(wDialog) {
Note: See TracChangeset
for help on using the changeset viewer.