to use.
The copy template editor now gives dropdowns for fine level and loan duration.
This is particularly useful since at receive time, if you're trying to create
units, you can't do it with null values in those fields.
The caption and pattern pane of the subscription details interface now sets the
active checkbox to checked by default when creating new caption and patterns.
This helps prevent user confusion if you create a caption/pattern and move on
to the issuances tab and find that you can't apply the caption/pattern that
you just created because you didn't make it "active."
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18745
dcc99617-32d9-48b4-a31d-
7c20da2025e4
}
function actInit() {
+ actGrid.overrideEditWidgets.fine_level = special_fine_level;
+ actGrid.overrideEditWidgets.fine_level.shove = {"create": 2};
+
+ actGrid.overrideEditWidgets.loan_duration = special_loan_duration;
+ actGrid.overrideEditWidgets.loan_duration.shove = {"create": 2};
+
pcrud = new openils.PermaCrud();
new openils.User().buildPermOrgSelector(
editPaneOnSubmit="create_or_update_act"
editOnEnter="true">
</table>
+ <div class="hidden">
+ <!-- these FilteringSelects will be attached manually to actGrid -->
+ <select required="false" dojoType="dijit.form.FilteringSelect"
+ jsId="special_fine_level">
+ <option value="1">Low</option>
+ <option value="2">Normal</option>
+ <option value="3">High</option>
+ </select>
+ <select required="false" dojoType="dijit.form.FilteringSelect"
+ jsId="special_loan_duration">
+ <option value="1">Short</option>
+ <option value="2">Normal</option>
+ <option value="3">Long</option>
+ </select>
+ </div>
</div>
[% END %]
<span control="true"></span>
</td>
<td name="active">
- <input type="checkbox" control="true" />
+ <input type="checkbox" control="true" checked="checked" />
</td>
<td name="remover">
<button>X</button>