Author: hnategh
New Revision: 55563
URL: http://svn.stylite.de/viewvc/egroupware?rev=55563&view=rev
Log:
Add width and height options into dialog widget
Modified:
trunk/egroupware/api/js/etemplate/et2_widget_dialog.js
— trunk/egroupware/api/js/etemplate/et2_widget_dialog.js (original)
+++ trunk/egroupware/api/js/etemplate/et2_widget_dialog.js Wed Mar 30 11:56:00 2016
@@ -155,6 +155,24 @@
“description”: “Instead of displaying a simple message, a full template can be loaded instead. Set defaults with value.”,
“type”: “string”,
“default”: et2_no_init
-
},
-
minWidth: {
-
name: "minimum width",
-
type: "integer",
-
description: "Define minimum width of dialog",
-
"default": 0
-
},
-
minHeight: {
-
name: "minimum height",
-
type: "integer",
-
description: "Define minimum height of dialog",
-
"default": 0
-
},
-
width: {
-
name: "width",
-
type: "string",
-
description: "Define width of dialog, the default is auto",
-
"default": 'auto'
}
},
@@ -455,7 +473,9 @@
buttons: this.options.buttons,
modal: this.options.modal,
resizable: this.options.resizable,
-
width: this.options.width,
-
minWidth: this.options.minWidth,
-
minHeight:this.options.minHeight,
maxWidth: 640,
title: this.options.title,
open: function() {
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs