Skip to content

Commit 2295d27

Browse files
committed
Redo drawer binding for layout options.
1 parent 687abfb commit 2295d27

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

views/admin/exhibits/page-form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
Omeka.ExhibitBuilder.setUpItemsSelect(<?php echo js_escape(url('exhibits/attachment-item-options')); ?>);
132132
Omeka.ExhibitBuilder.setUpAttachments(<?php echo js_escape(url('exhibits/attachment')); ?>, <?php echo js_escape(url('exhibits/attachment-item-options')); ?>);
133133
Omeka.manageDrawers('#block-container', '.block-form');
134-
Omeka.manageDrawers('.block-form .block-body', '.layout-options');
134+
Omeka.manageDrawers('#block-container', '.layout-options');
135135
<?php
136136
if ($exhibit_page->exists()) {
137137
$validateUrl = url(

views/admin/javascripts/exhibits.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ Omeka.ExhibitBuilder = {};
118118
$('input[name=new-block-layout]').prop('checked', false);
119119
$('.selected').removeClass('selected');
120120
$('.add-link').hide();
121-
$('.block-form .block-body').unbind('click');
122-
Omeka.manageDrawers('.block-form .block-body', '.layout-options');
123121
},
124122
'html'
125123
);

0 commit comments

Comments
 (0)