Bug 8194 - Layout problem on subscription add when showing manual history

Markup errors were causing display problems when the "manual history"
section is shown.

To test, apply the patch, load the subscription add page, and check
the "manual history" checkbox. The "Serials planning" section
should appear directly below the "manual history" section.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works nicely.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Owen Leonard 2012-06-15 10:36:33 -04:00 committed by Chris Cormack
parent cb7167b0e6
commit 08d45e7767
1 changed files with 4 additions and 5 deletions

View File

@ -1083,8 +1083,8 @@ $(document).ready(function() {
</fieldset>
</div>
<div id="subscription_form_history" class="yui-u" style="display:none">
<div><h3 style="display:inline">Subscription history</h3> <a href="#" id="cancel_manual_history">[cancel manual history]</a></div>
<div class="yui-u">
<div id="subscription_form_history" style="display:none"><h3 style="display:inline">Subscription history</h3> <a href="#" id="cancel_manual_history">[cancel manual history]</a>
<p>Hint: you can update the serial history manually. This can be useful for an old subscription or to clean the existing history. Modify these fields with care, as future serial receive will continue to update them automatically.</p>
<fieldset class="rows">
<ol>
@ -1117,7 +1117,6 @@ $(document).ready(function() {
<fieldset class="action"><input type="submit" value="Save subscription history" /></fieldset>
</div>
<div class="yui-g">
<div id="subscription_form_planning">
<fieldset class="rows">
<legend>Serials planning</legend>
@ -1371,7 +1370,7 @@ $(document).ready(function() {
</li>
</ol>
</fieldset>
</div>
<fieldset class="action">
<input type="button" class="action_test" value="Test prediction pattern" onclick="javascript:irregularity_check()" />
<input type="button" class="action_reset" value="Reset pattern" onclick="javascript:reset_pattern()" />
@ -1441,7 +1440,7 @@ $(document).ready(function() {
</div>
</div>
</div>
</form>
</div>