Fix for Bug 6458 - incorrect parsing result in translation processing

There is template logic in manage-marc-import.tt which is intended
to set the "selected" option for the framework chooser ("Add new
bibliographic records into this framework"). However, I can't see
any place in the code which sends the "selected" variable to the
template, and I can't see any circumstance in which a value would
be passed to the template.

This patch removes the "selected" variable from the template.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Owen Leonard 2011-09-02 10:14:51 -04:00 committed by Chris Cormack
parent 597240e878
commit 0d5aaf0a7c
1 changed files with 1 additions and 3 deletions

View File

@ -157,9 +157,7 @@ $(document).ready(function(){
<select name="framework" id="frameworks">
<option value="">Default</option>
[% FOREACH framework IN frameworks %]
<option value="[% framework.value %]" [% framework.selected %]>
[% framework.label %]
</option>
<option value="[% framework.value %]">[% framework.label %]</option>
[% END %]
</select>
</fieldset>