You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by nd...@apache.org on 2016/02/17 17:26:05 UTC
[1/2] airavata-php-gateway git commit: Simplifying deployment name
search
Repository: airavata-php-gateway
Updated Branches:
refs/heads/master e1912971d -> 80ed2f388
Simplifying deployment name search
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/cb2e460b
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/cb2e460b
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/cb2e460b
Branch: refs/heads/master
Commit: cb2e460bfc9ede670776024cad4cf5cb6b084697
Parents: e191297
Author: Nipurn Doshi <ni...@gmail.com>
Authored: Tue Feb 16 15:01:31 2016 -0500
Committer: Nipurn Doshi <ni...@gmail.com>
Committed: Tue Feb 16 15:01:31 2016 -0500
----------------------------------------------------------------------
public/js/deployment.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/cb2e460b/public/js/deployment.js
----------------------------------------------------------------------
diff --git a/public/js/deployment.js b/public/js/deployment.js
index 43bac43..375b5a7 100644
--- a/public/js/deployment.js
+++ b/public/js/deployment.js
@@ -41,7 +41,7 @@ $( document).ready( function(){
children = ($("#accordion").children());
var containing = children.filter(function () {
- var regex = new RegExp('\\b' + a, 'i');
+ var regex = new RegExp(a, 'i');
return regex.test($('a', this).text());
}).slideDown();
children.not(containing).slideUp();
[2/2] airavata-php-gateway git commit: Defining variables correctly
Posted by nd...@apache.org.
Defining variables correctly
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/80ed2f38
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/80ed2f38
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/80ed2f38
Branch: refs/heads/master
Commit: 80ed2f38826eb282d6320bd93b1591c7f388f521
Parents: cb2e460
Author: Nipurn Doshi <ni...@gmail.com>
Authored: Wed Feb 17 11:24:22 2016 -0500
Committer: Nipurn Doshi <ni...@gmail.com>
Committed: Wed Feb 17 11:24:22 2016 -0500
----------------------------------------------------------------------
app/controllers/AdminController.php | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/80ed2f38/app/controllers/AdminController.php
----------------------------------------------------------------------
diff --git a/app/controllers/AdminController.php b/app/controllers/AdminController.php
index c4278d9..0123ee5 100644
--- a/app/controllers/AdminController.php
+++ b/app/controllers/AdminController.php
@@ -64,6 +64,9 @@ class AdminController extends BaseController {
$srData = SRUtilities::getEditSRData();
$crData = CRUtilities::getEditCRData();
+ $unselectedCRs = array();
+ $unselectedSRs = array();
+
foreach( (array)$gatewaysInfo["allCRs"] as $crId => $cr){
if( ! in_array($cr->computeResourceId, $gatewaysInfo["selectedCRs"]) )
$unselectedCRs[] = $cr;