You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/11/11 16:51:31 UTC
[2/2] git commit: updated refs/heads/4.4 to 3799558
whitespace fixes
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/37995583
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/37995583
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/37995583
Branch: refs/heads/4.4
Commit: 379955837232e09fdc7a56b166b8c2cf3d53f35c
Parents: 479b550
Author: Daan Hoogland <da...@onecht.net>
Authored: Tue Nov 11 16:51:15 2014 +0100
Committer: Daan Hoogland <da...@onecht.net>
Committed: Tue Nov 11 16:51:15 2014 +0100
----------------------------------------------------------------------
ui/scripts/ui/dialog.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/37995583/ui/scripts/ui/dialog.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/dialog.js b/ui/scripts/ui/dialog.js
index 4bd0361..22a62ee 100644
--- a/ui/scripts/ui/dialog.js
+++ b/ui/scripts/ui/dialog.js
@@ -223,7 +223,7 @@
});
if ($dependsOn.is('[type=checkbox]')) {
-
+
var isReverse = false;
if (args.form.fields[dependsOn])
isReverse = args.form.fields[dependsOn].isReverse;
@@ -235,10 +235,10 @@
if (($target.is(':checked') && !isReverse) ||
($target.is(':unchecked') && isReverse)) {
-
- $dependent.css('display', 'inline-block'); //show dependent dropdown field
+
+ $dependent.css('display', 'inline-block'); //show dependent dropdown field
$dependent.change(); //trigger event handler for default option in dependent dropdown field (CLOUDSTACK-7826)
-
+
$dependent.each(function() {
if ($(this).data('dialog-select-fn')) {
$(this).data('dialog-select-fn')();