Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6DAB818CDF for ; Tue, 21 Jul 2015 20:00:51 +0000 (UTC) Received: (qmail 75891 invoked by uid 500); 21 Jul 2015 20:00:51 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 75846 invoked by uid 500); 21 Jul 2015 20:00:51 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 75837 invoked by uid 99); 21 Jul 2015 20:00:51 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2015 20:00:51 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 15B3FDFFD5; Tue, 21 Jul 2015 20:00:51 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: scnakandala@apache.org To: commits@airavata.apache.org Message-Id: <1a25d746255f4db59168b16784bbe9f4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: airavata-php-gateway git commit: redirection confirmations for appcatalog pages Date: Tue, 21 Jul 2015 20:00:51 +0000 (UTC) Repository: airavata-php-gateway Updated Branches: refs/heads/0.15-release-branch 95af1e691 -> 0ba12d89c redirection confirmations for appcatalog pages 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/0ba12d89 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/0ba12d89 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/0ba12d89 Branch: refs/heads/0.15-release-branch Commit: 0ba12d89ccfd8c1b4d3a4e481b96e87c8dc82789 Parents: 95af1e6 Author: Supun Nakandala Authored: Wed Jul 22 01:30:26 2015 +0530 Committer: Supun Nakandala Committed: Wed Jul 22 01:30:26 2015 +0530 ---------------------------------------------------------------------- app/views/application/deployment.blade.php | 15 +++++++++++++++ app/views/application/interface.blade.php | 15 +++++++++++++++ app/views/application/module.blade.php | 13 +++++++++++++ app/views/resource/create.blade.php | 15 +++++++++++++++ app/views/resource/edit.blade.php | 14 ++++++++++++++ 5 files changed, 72 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0ba12d89/app/views/application/deployment.blade.php ---------------------------------------------------------------------- diff --git a/app/views/application/deployment.blade.php b/app/views/application/deployment.blade.php index b2fb9e3..3dc2313 100644 --- a/app/views/application/deployment.blade.php +++ b/app/views/application/deployment.blade.php @@ -198,4 +198,19 @@ @section('scripts') @parent {{ HTML::script('js/deployment.js') }} + @stop \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0ba12d89/app/views/application/interface.blade.php ---------------------------------------------------------------------- diff --git a/app/views/application/interface.blade.php b/app/views/application/interface.blade.php index d428d63..5d7780d 100644 --- a/app/views/application/interface.blade.php +++ b/app/views/application/interface.blade.php @@ -186,4 +186,19 @@ @section('scripts') @parent {{ HTML::script('js/interface.js') }} + @stop \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0ba12d89/app/views/application/module.blade.php ---------------------------------------------------------------------- diff --git a/app/views/application/module.blade.php b/app/views/application/module.blade.php index 604bb76..5a9afea 100644 --- a/app/views/application/module.blade.php +++ b/app/views/application/module.blade.php @@ -161,6 +161,19 @@ @section('scripts') @parent @stop \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/0ba12d89/app/views/resource/edit.blade.php ---------------------------------------------------------------------- diff --git a/app/views/resource/edit.blade.php b/app/views/resource/edit.blade.php index 93ecef4..0ac7951 100644 --- a/app/views/resource/edit.blade.php +++ b/app/views/resource/edit.blade.php @@ -832,5 +832,19 @@ $(".delete-queueName").val($(this).data("queue-name")); $(".delete-queueName").html($(this).data("queue-name")); }) + + var warn = true; + + function disableWarn(){ + warn = false; + return false; + } + + window.onbeforeunload = function() { + if(warn){ + return "Are you sure you want to navigate to other page ? (you will loose all unsaved data)"; + } + warn = true; + } @stop \ No newline at end of file