Commit da314fed authored by 's avatar

- don't show meta_types that don't have an action

parent 514a8f29
...@@ -40,7 +40,9 @@ function toggleSelect() { ...@@ -40,7 +40,9 @@ function toggleSelect() {
onChange="location.href='&dtml-URL1;/'+this.options[this.selectedIndex].value"> onChange="location.href='&dtml-URL1;/'+this.options[this.selectedIndex].value">
<option value="manage_workspace" disabled>Select type to add...</option> <option value="manage_workspace" disabled>Select type to add...</option>
<dtml-in filtered_meta_types mapping sort=name> <dtml-in filtered_meta_types mapping sort=name>
<dtml-if action>
<option value="&dtml.html_quote-action;">&dtml-name;</option> <option value="&dtml.html_quote-action;">&dtml-name;</option>
</dtml-if>
</dtml-in> </dtml-in>
</select> </select>
<input class="form-element" type="submit" name="submit" value=" Add " /> <input class="form-element" type="submit" name="submit" value=" Add " />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment