You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pr...@apache.org on 2012/11/03 08:31:57 UTC

git commit: CS-16681:Inconsistent behavior in custom disk offering selection page in Add VM instance wizard - Fixed by adding a Jquery bind event

Updated Branches:
  refs/heads/master dfffa805b -> 04c5d89f8


CS-16681:Inconsistent behavior in custom disk offering selection page in Add VM instance wizard - Fixed by adding a Jquery bind event


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/04c5d89f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/04c5d89f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/04c5d89f

Branch: refs/heads/master
Commit: 04c5d89f80fe20e8d7d110a07fe9cb5be3abb89f
Parents: dfffa80
Author: Pranav Saxena <pr...@citrix.com>
Authored: Sat Nov 3 13:01:32 2012 +0530
Committer: Pranav Saxena <pr...@citrix.com>
Committed: Sat Nov 3 13:01:32 2012 +0530

----------------------------------------------------------------------
 ui/scripts/ui-custom/instanceWizard.js |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/04c5d89f/ui/scripts/ui-custom/instanceWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/instanceWizard.js b/ui/scripts/ui-custom/instanceWizard.js
index e9fda2e..a591d17 100644
--- a/ui/scripts/ui-custom/instanceWizard.js
+++ b/ui/scripts/ui-custom/instanceWizard.js
@@ -876,6 +876,12 @@
           }
         });
 
+         $wizard.find('div.data-disk-offering div.custom-size input[type=text]').bind('change',function() {
+                var old =   $wizard.find('div.data-disk-offering div.custom-size input[type=text]').val();
+                $wizard.find('div.data-disk-offering span.custom-disk-size').html(_s(old));
+         });
+
+
         return $wizard.dialog({
           title: _l('label.vm.add'),
           width: 800,