Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 9d123ad08 -> aec1fa87a


fixing bug


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/aec1fa87
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/aec1fa87
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/aec1fa87

Branch: refs/heads/develop
Commit: aec1fa87a12259b26acc9d0889c77fcebb947899
Parents: 9d123ad
Author: scnakandala <[email protected]>
Authored: Mon May 22 16:35:29 2017 -0400
Committer: scnakandala <[email protected]>
Committed: Mon May 22 16:35:29 2017 -0400

----------------------------------------------------------------------
 app/views/partials/experiment-queue-block.blade.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/aec1fa87/app/views/partials/experiment-queue-block.blade.php
----------------------------------------------------------------------
diff --git a/app/views/partials/experiment-queue-block.blade.php 
b/app/views/partials/experiment-queue-block.blade.php
index bec0ea9..45edd34 100644
--- a/app/views/partials/experiment-queue-block.blade.php
+++ b/app/views/partials/experiment-queue-block.blade.php
@@ -244,21 +244,21 @@
                 var cpuCount=$("#cpu-count");
 
                 if(cpusPerNode > 0){
-                    cpuCount.onkeyup(function(){
+                    cpuCount.keyup(function(){
                         var cpuCountVal = parseInt(cpuCount.val());
                         if(cpuCountVal > 0){
                             nodeCount.val(Math.ceil(cpuCountVal/cpusPerNode));
                         }
                     });
-                    nodeCount.onkeyup(function(){
+                    nodeCount.keyup(function(){
                         var nodeCountVal = parseInt(nodeCount.val());
                         if(nodeCountVal > 0){
                             cpuCount.val(nodeCountVal*cpusPerNode);
                         }
                     });
                 }else{
-                    cpuCount.onkeyup(null);
-                    nodeCount.onkeyup(null);
+                    cpuCount.keyup(null);
+                    nodeCount.keyup(null);
                 }
             }
         }

Reply via email to