Return-Path: X-Original-To: apmail-nifi-commits-archive@minotaur.apache.org Delivered-To: apmail-nifi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E831184FE for ; Fri, 31 Jul 2015 03:01:48 +0000 (UTC) Received: (qmail 3201 invoked by uid 500); 31 Jul 2015 03:01:48 -0000 Delivered-To: apmail-nifi-commits-archive@nifi.apache.org Received: (qmail 3168 invoked by uid 500); 31 Jul 2015 03:01:48 -0000 Mailing-List: contact commits-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list commits@nifi.apache.org Received: (qmail 3158 invoked by uid 99); 31 Jul 2015 03:01:47 -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; Fri, 31 Jul 2015 03:01:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AB32CDF9F2; Fri, 31 Jul 2015 03:01:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mcgilman@apache.org To: commits@nifi.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: nifi git commit: NIFI-798: - Adding special handling for ajax failures with a response code of 201. Date: Fri, 31 Jul 2015 03:01:47 +0000 (UTC) Repository: nifi Updated Branches: refs/heads/develop 75ed16c8f -> 82a79f197 NIFI-798: - Adding special handling for ajax failures with a response code of 201. Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/82a79f19 Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/82a79f19 Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/82a79f19 Branch: refs/heads/develop Commit: 82a79f197107534776d34a53d874c97cefd395b0 Parents: 75ed16c Author: Matt Gilman Authored: Thu Jul 30 22:57:56 2015 -0400 Committer: Matt Gilman Committed: Thu Jul 30 22:57:56 2015 -0400 ---------------------------------------------------------------------- .../nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/82a79f19/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-common.js ---------------------------------------------------------------------- diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-common.js b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-common.js index e08ad9e..06c34f9 100644 --- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-common.js +++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-common.js @@ -252,7 +252,7 @@ nf.Common = { } else { $('#message-content').text(xhr.responseText); } - } else if (xhr.status === 200) { + } else if (xhr.status === 200 || xhr.status === 201) { $('#message-title').text('Parse Error'); if ($.trim(xhr.responseText) === '') { $('#message-content').text('Unable to interpret response from NiFi.');