Repository: airavata-php-gateway Updated Branches: refs/heads/develop 3d565f9c8 -> a228f1946
Disabling checkboxes in gateway admins' ui. 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/614145e7 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/614145e7 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/614145e7 Branch: refs/heads/develop Commit: 614145e77e8aba5951082b92f85235dd46db039c Parents: 3d565f9 Author: Nipurn Doshi <[email protected]> Authored: Fri Feb 26 10:47:15 2016 -0500 Committer: Nipurn Doshi <[email protected]> Committed: Fri Feb 26 10:47:15 2016 -0500 ---------------------------------------------------------------------- app/views/admin/manage-gateway.blade.php | 2 +- public/js/script.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/614145e7/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 7662426..362989a 100644 --- a/app/views/admin/manage-gateway.blade.php +++ b/app/views/admin/manage-gateway.blade.php @@ -312,7 +312,7 @@ function disableInputs( elem){ elem.find("input").each( function( i,e){ - if( $(e).attr("type")=='submit' || $(e).attr("type")=='button' ) + if( $(e).attr("type")=='submit' || $(e).attr("type")=='button' || $(e).attr("type")=='checkbox') $(e).attr("disabled", "true"); else $(e).prop("readonly", "true"); http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/614145e7/public/js/script.js ---------------------------------------------------------------------- diff --git a/public/js/script.js b/public/js/script.js index d00547f..ae697c2 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -19,7 +19,7 @@ function getAccodrionCode() function disableInputs( elem){ elem.find("input").each( function( i,e){ - if( $(e).attr("type")=='submit' || $(e).attr("type")=='button' ) + if( $(e).attr("type")=='submit' || $(e).attr("type")=='button' || $(e).attr("type")=='checkbox' ) $(e).attr("disabled", "true"); else $(e).prop("readonly", "true");
