From 437df4aadc137a0814454b95e48d1490ce9f1f66 Mon Sep 17 00:00:00 2001 From: jlukic Date: Sat, 14 Sep 2013 13:26:19 -0400 Subject: [PATCH] adds transition to form doc, changes default to scale Former-commit-id: 62eabcd7a42298b47b3ac50df55c3e33bdc23ac2 Former-commit-id: ff941d6f607364cb1601627c41c66c0fb1e68001 --- build/minified/modules/behavior/form.js | 2 +- build/uncompressed/modules/behavior/form.js | 2 +- node/src/documents/modules/form.html | 11 +++++++++-- .../files/release/minified/modules/behavior/form.js | 2 +- .../release/uncompressed/modules/behavior/form.js | 2 +- src/modules/behavior/form.js | 2 +- 6 files changed, 14 insertions(+), 7 deletions(-) diff --git a/build/minified/modules/behavior/form.js b/build/minified/modules/behavior/form.js index 6f63d30a8..694cff3d8 100644 --- a/build/minified/modules/behavior/form.js +++ b/build/minified/modules/behavior/form.js @@ -560,7 +560,7 @@ $.fn.form.settings = { on : 'submit', inlineError : false, - transition : 'fade', + transition : 'scale', duration : 150, diff --git a/build/uncompressed/modules/behavior/form.js b/build/uncompressed/modules/behavior/form.js index 6f63d30a8..694cff3d8 100644 --- a/build/uncompressed/modules/behavior/form.js +++ b/build/uncompressed/modules/behavior/form.js @@ -560,7 +560,7 @@ $.fn.form.settings = { on : 'submit', inlineError : false, - transition : 'fade', + transition : 'scale', duration : 150, diff --git a/node/src/documents/modules/form.html b/node/src/documents/modules/form.html index eccdc26b2..37385e7d4 100755 --- a/node/src/documents/modules/form.html +++ b/node/src/documents/modules/form.html @@ -256,9 +256,16 @@ type : 'UI Behavior' Adds prompt text from template on validation error - animationDuration + transition + + scale + + Named transition to use when animating menu in and out. Fade and slide down are available without including ui transitions + + + duration 150 - Fade in speed for inline prompt + Animation speed for inline prompt diff --git a/node/src/files/release/minified/modules/behavior/form.js b/node/src/files/release/minified/modules/behavior/form.js index 6f63d30a8..694cff3d8 100644 --- a/node/src/files/release/minified/modules/behavior/form.js +++ b/node/src/files/release/minified/modules/behavior/form.js @@ -560,7 +560,7 @@ $.fn.form.settings = { on : 'submit', inlineError : false, - transition : 'fade', + transition : 'scale', duration : 150, diff --git a/node/src/files/release/uncompressed/modules/behavior/form.js b/node/src/files/release/uncompressed/modules/behavior/form.js index 6f63d30a8..694cff3d8 100644 --- a/node/src/files/release/uncompressed/modules/behavior/form.js +++ b/node/src/files/release/uncompressed/modules/behavior/form.js @@ -560,7 +560,7 @@ $.fn.form.settings = { on : 'submit', inlineError : false, - transition : 'fade', + transition : 'scale', duration : 150, diff --git a/src/modules/behavior/form.js b/src/modules/behavior/form.js index 6f63d30a8..694cff3d8 100755 --- a/src/modules/behavior/form.js +++ b/src/modules/behavior/form.js @@ -560,7 +560,7 @@ $.fn.form.settings = { on : 'submit', inlineError : false, - transition : 'fade', + transition : 'scale', duration : 150,