You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2016/03/15 01:11:46 UTC

ambari git commit: AMBARI-15075. Edit Widget Wizard still open even though it was closed/saved in the previous step. (addendum patch) (jaimin)

Repository: ambari
Updated Branches:
  refs/heads/trunk c612a462c -> 3eb766410


AMBARI-15075. Edit Widget Wizard still open even though it was closed/saved in the previous step. (addendum patch) (jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3eb76641
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3eb76641
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3eb76641

Branch: refs/heads/trunk
Commit: 3eb766410f35cd8769f9e77969ef0c4b0c5bcb90
Parents: c612a46
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Mon Mar 14 17:11:04 2016 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Mon Mar 14 17:11:42 2016 -0700

----------------------------------------------------------------------
 .../main/service/widgets/edit_controller.js            | 13 -------------
 1 file changed, 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3eb76641/ambari-web/app/controllers/main/service/widgets/edit_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/widgets/edit_controller.js b/ambari-web/app/controllers/main/service/widgets/edit_controller.js
index 66f6aeb..a699e4c 100644
--- a/ambari-web/app/controllers/main/service/widgets/edit_controller.js
+++ b/ambari-web/app/controllers/main/service/widgets/edit_controller.js
@@ -115,19 +115,6 @@ App.WidgetEditController = App.WidgetWizardController.extend({
   },
 
   /**
-   * set current step
-   * @param {string} currentStep
-   * @param {boolean} completed
-   * @param {boolean} skipStateSave
-   */
-  setCurrentStep: function (currentStep, completed, skipStateSave) {
-    this._super(currentStep, completed);
-    if (App.get('testMode') || skipStateSave) {
-      return;
-    }
-  },
-
-  /**
    * post widget definition to server
    * @returns {$.ajax}
    */