Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-13938

Refactor Webapps to use central utility function to do $scope.$apply()

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • webapp
    • None

      Acceptance Criteria (Required on creation):

      The following pattern is used at many places in the Webapps:

      const phase = $scope.$root.$$phase;
      if (phase !== '$apply' && phase !== '$digest') {
        $scope.$apply();
      }
      

      Let's create a central utility function for it and refactor the codebase.

      Hints (optional):

        This is the controller panel for Smart Panels app

            [CAM-13938] Refactor Webapps to use central utility function to do $scope.$apply()

            This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2565. Please use this link for any future references and continue any discussion there.

            Thorben Lindhauer added a comment - This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2565 . Please use this link for any future references and continue any discussion there.

              Unassigned Unassigned
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: