Repository: airavata-php-gateway Updated Branches: refs/heads/master 65f1fdb3a -> ad2035277
Gateway preferences search fix. 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/bf108536 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/bf108536 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/bf108536 Branch: refs/heads/master Commit: bf1085369b65d709b8ab11dcfbe8e169ed13f0aa Parents: 65f1fdb Author: Nipurn Doshi <[email protected]> Authored: Fri Apr 1 12:16:19 2016 -0400 Committer: Nipurn Doshi <[email protected]> Committed: Fri Apr 1 12:16:19 2016 -0400 ---------------------------------------------------------------------- app/views/admin/manage-gateway.blade.php | 4 +--- app/views/application/module.blade.php | 2 +- public/js/gateway.js | 2 +- public/js/interface.js | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/bf108536/app/views/admin/manage-gateway.blade.php ---------------------------------------------------------------------- diff --git a/app/views/admin/manage-gateway.blade.php b/app/views/admin/manage-gateway.blade.php index a455321..e7bd0a5 100644 --- a/app/views/admin/manage-gateway.blade.php +++ b/app/views/admin/manage-gateway.blade.php @@ -102,12 +102,10 @@ </form> </div> - <div class="panel-group" id="accordion1"> - <div class='super-admin-gateways-view'> + <div class="panel-group super-admin-gateways-view" id="accordion1"> @foreach( $gateways as $indexGP => $gp ) @include('partials/gateway-preferences-block', array("gp" => $gp, "accName" => "accordion1")) @endforeach - </div> </div> @endif http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/bf108536/app/views/application/module.blade.php ---------------------------------------------------------------------- diff --git a/app/views/application/module.blade.php b/app/views/application/module.blade.php index 94715c3..d7eb42a 100644 --- a/app/views/application/module.blade.php +++ b/app/views/application/module.blade.php @@ -191,7 +191,7 @@ 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(); http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/bf108536/public/js/gateway.js ---------------------------------------------------------------------- diff --git a/public/js/gateway.js b/public/js/gateway.js index d60326a..331125d 100644 --- a/public/js/gateway.js +++ b/public/js/gateway.js @@ -17,7 +17,7 @@ $(document).ready(function () { children = ($("#accordion1").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(); http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/bf108536/public/js/interface.js ---------------------------------------------------------------------- diff --git a/public/js/interface.js b/public/js/interface.js index 9de1c21..7526d14 100644 --- a/public/js/interface.js +++ b/public/js/interface.js @@ -53,7 +53,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();
