Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1857

Container runAction needs errback

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.5.0-beta3
    • 2.5.0-beta3
    • Javascript
    • None

    Description

      When using container actions runAction API, an error callback is needed to notify caller that runAction failed so the appropriate error message can show up.

      cc.actions.runAction(actionId,

      {type: "type", dataObject: obj}

      );

      to:
      cc.actions.runAction(actionId,

      {type: "type", dataObject: obj, callback: cbFn}

      );

      Attachments

        Activity

          People

            Unassigned Unassigned
            marshall_601 Marshall Shi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified