Closed gsteimer closed 10 years ago
Revision: 8501 Author: mblum Date: Friday, January 10, 2014 5:03:27 PM Message:
Modified : /trunk/code/app/modules/hpiadmin/actionconfig/hpiactionconfig.js
Were the actions I mentioned in the original post marked as "noContext"? If not, we need to do that and test it before closing this issue. On Jan 10, 2014 5:05 PM, "Michael Blum" notifications@github.com wrote:
Closed #94 https://github.com/tsgrp/hpi/issues/94.
— Reply to this email directly or view it on GitHubhttps://github.com/tsgrp/hpi/issues/94 .
the actions are marked as noContext in Spring. working on a fix now to pass in defaults to any action, regardless o f a -noContext flag (or any other -flag for that matter)
Revision: 8504 Author: mblum Date: Monday, January 13, 2014 12:14:05 PM Message:
Modified : /trunk/code/app/modules/actions/actionmodules.js Modified : /trunk/code/app/modules/hpiadmin/actionconfig/hpiactionconfig.js Added : /trunk/code/test/tests/actions/actionModulesSpec.js
We need some way to tag certain actions as having the ability to execute without a context object. Something like this in the action config would work:
Whatever we call the property, null and false should default to the action requiring a context object.
Once this is in place, the list of available actions in the ApplicationConfig section of the admin should only display noContext actions:
Currently, this view displays all non-group actions, most of which will not work properly in the header.
As of Dec 2013, the following actions should be noContext actions: