UI Automation

Added ID attribute to sublist action items. For example, the users list on the Organization detail page. Each of the action icons for each user row now has an ID attribute.
This commit is contained in:
Chris Houseknecht 2014-08-28 13:49:52 -04:00
parent 4e4b5852cb
commit 264ad62db0

View File

@ -1489,7 +1489,7 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'Utilities', 'ListGenerator
html += "<td class=\"actions\">";
for (act in collection.fieldActions) {
fAction = collection.fieldActions[act];
html += "<a ";
html += "<a id=\"" + ((fAction.id) ? fAction.id : act + "-action") + "\" ";
html += (fAction.href) ? "href=\"" + fAction.href + "\" " : "";
html += (fAction.ngClick) ? this.attr(fAction, 'ngClick') : "";
html += (fAction.ngHref) ? this.attr(fAction, 'ngHref') : "";