CC-2031: Put extra 'Add this show' button at bottom of Add show box

-Done. Just need Vladimir to fix up the css.
This commit is contained in:
martin 2011-03-31 12:39:12 -04:00
parent bc33154f4b
commit 7dcd6c78e5
2 changed files with 8 additions and 2 deletions

View file

@ -1,7 +1,7 @@
<div id="schedule-add-show" class="tabs ui-widget ui-widget-content block-shadow alpha-block padded">
<div class="button-bar">
<a href="#" id="add-show-close" class="icon-link"><span class="ui-icon ui-icon-circle-close"></span>Close</a>
<button aria-disabled="false" role="button" id="add-show-submit" class="right-floated ui-button ui-widget ui-state-default ui-button-text-icon-primary">
<button aria-disabled="false" role="button" class="add-show-submit right-floated ui-button ui-widget ui-state-default ui-button-text-icon-primary">
<span class="ui-icon ui-icon-plusthick"></span>
<span class="ui-button-text">Add this show</span>
</button>
@ -30,5 +30,11 @@
<div id="schedule-show-style" class="collapsible-content">
<?php echo $this->style; ?>
</div>
<div class="button-bar">
<button aria-disabled="false" role="button" class="add-show-submit right-floated ui-button ui-widget ui-state-default ui-button-text-icon-primary">
<span class="ui-icon ui-icon-plusthick"></span>
<span class="ui-button-text">Add this show</span>
</button>
</div>
</div>

View file

@ -181,7 +181,7 @@ function setAddShowEvents() {
makeAddShowButton();
});
form.find("#add-show-submit")
form.find(".add-show-submit")
.click(function(event){
event.preventDefault();