horizon/horizon/static/framework
Richard Jones f9b3bc7b2b Remove use of scope from action service
The scope being handed to (and retained on) the action
service was being used for two purposes:

1. handing data down to the underlying wizard steps, and
2. receiving data back from the underlying wizard steps.

This patch provides a mechanism for passing data down through
injection, and removes the need for event-based data return
by explicitly passing the captured wizard data to the submit()
resolution.

It also adds the controller scope to the allowed() and
perform() action service handlers to grant access to
contextual information without needing to attach state
to the service.

Change-Id: Ieb293d0a849cd84d15e7aae0a68558fde80fd2c2
Fixes-Bug: 1640049
2016-11-24 18:42:49 +11:00
..
conf Remove use of scope from action service 2016-11-24 18:42:49 +11:00
util Revert "In Images Overview, dates should be properly formatted" 2016-11-18 17:21:23 +00:00
widgets Remove use of scope from action service 2016-11-24 18:42:49 +11:00
.eslintrc Add selective ESLint rule activation for Horizon Legacy JS 2015-07-08 17:06:15 -07:00
framework.module.js [NG] Support local file upload in Create Image workflow 2016-08-08 20:02:22 +03:00
framework.module.spec.js Fix the issue which redirect to Not Found page 2016-03-30 13:10:43 +00:00
framework.scss ngReorg - create 'widgets' module 2015-05-19 09:55:58 -06:00