airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [5/7] airavata-php-gateway git commit: For AIRAVATA-1760
Date Wed, 30 Mar 2016 17:49:57 GMT
For AIRAVATA-1760


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/6b409116
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/6b409116
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/6b409116

Branch: refs/heads/master
Commit: 6b40911672b822b5e6bcbd4abcfad0782eaedfb3
Parents: 3526a01
Author: Nipurn Doshi <nipunhere@gmail.com>
Authored: Wed Mar 30 11:29:21 2016 -0400
Committer: Nipurn Doshi <nipunhere@gmail.com>
Committed: Wed Mar 30 11:29:21 2016 -0400

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php        | 1 -
 app/views/admin/manage-experiments.blade.php | 7 +++++++
 app/views/experiment/browse.blade.php        | 6 ++++++
 3 files changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6b409116/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index 6e10637..a214e31 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -934,7 +934,6 @@ class ExperimentUtilities
                     case '':
                 }
             }
-
             $experiments = Airavata::searchExperiments(Session::get('authz-token'),
                 Session::get('gateway_id'), Session::get('username'), $filters, $limit, $offset);
         } catch (InvalidRequestException $ire) {

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6b409116/app/views/admin/manage-experiments.blade.php
----------------------------------------------------------------------
diff --git a/app/views/admin/manage-experiments.blade.php b/app/views/admin/manage-experiments.blade.php
index 293cb26..cb3b2d8 100644
--- a/app/views/admin/manage-experiments.blade.php
+++ b/app/views/admin/manage-experiments.blade.php
@@ -392,9 +392,16 @@ to be uncommented when actually in use.
     });
     $("#datetimepicker9").on("dp.change", function (e) {
         $('#datetimepicker10').data("DateTimePicker").setMinDate(e.date);
+
+        //hack to close calendar on selecting date
+        $(this).find(".glyphicon-calendar").click();
     });
     $("#datetimepicker10").on("dp.change", function (e) {
         $('#datetimepicker9').data("DateTimePicker").setMaxDate(e.date);
+
+        //hack to close calendar on selecting date
+        $(this).find(".glyphicon-calendar").click();
+
     });
 
     $(".oneDayExp").click( function(){

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/6b409116/app/views/experiment/browse.blade.php
----------------------------------------------------------------------
diff --git a/app/views/experiment/browse.blade.php b/app/views/experiment/browse.blade.php
index 6d32a18..3025ee8 100755
--- a/app/views/experiment/browse.blade.php
+++ b/app/views/experiment/browse.blade.php
@@ -168,9 +168,15 @@
         });
         $("#datetimepicker9").on("dp.change", function (e) {
             $('#datetimepicker10').data("DateTimePicker").setMinDate(e.date);
+
+            //hack to close calendar on selecting date
+            $(this).find(".glyphicon-calendar").click();
         });
         $("#datetimepicker10").on("dp.change", function (e) {
             $('#datetimepicker9').data("DateTimePicker").setMaxDate(e.date);
+
+            //hack to close calendar on selecting date
+            $(this).find(".glyphicon-calendar").click();
         });
 
         /* selecting creation time */


Mime
View raw message