Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tested to work with qooxdoo 1.4

git-svn-id: https://qooxdoo-contrib.svn.sourceforge.net/svnroot/qooxdoo-contrib@21255 09f7d036-9b2a-0410-8fbe-9cff4eb17569
  • Loading branch information...
commit fe74ac756c055d5779c5bcd3079c2af20620d06f 1 parent ee6d628
cboulanger authored
View
2  demo/default/Manifest.json
@@ -18,7 +18,7 @@
],
"version" : "trunk",
- "qooxdoo-versions": ["1.0","1.2","1.3"]
+ "qooxdoo-versions": ["1.0","1.2","1.3","1.4"]
},
"provides" :
View
3  demo/default/config.json
@@ -30,11 +30,10 @@
"let" :
{
"APPLICATION" : "dialog.demo",
- "QOOXDOO_PATH" : "../../../../qooxdoo/1.3-pre",
+ "QOOXDOO_PATH" : "../../../../qooxdoo/1.4",
"QXTHEME" : "dialog.demo.theme.Theme",
"API_EXCLUDE" : ["qx.test.*"],
"LOCALES" : [ "en" ],
- "CACHE" : "${TMPDIR}/cache/1.3-pre",
"ROOT" : "."
},
View
11 source/class/dialog/Dialog.js
@@ -142,17 +142,22 @@ qx.Class.define("dialog.Dialog",
},
/**
- * Shortcut for prompt dialog
+ * Shortcut for prompt dialog.
+ * The value argument was forgotten in the initial implementation and
+ * comes last for backwards compatibility. This might change in a future
+ * release.
* @param message {String}
* @param callback {Function}
* @param context {Object}
+ * @param value {String}
*/
- prompt : function( message, callback, context )
+ prompt : function( message, callback, context, value )
{
(new dialog.Prompt({
"message" : message,
"callback" : callback || null,
- "context" : context || null
+ "context" : context || null,
+ "value" : value || null
})).show();
},
Please sign in to comment.
Something went wrong with that request. Please try again.