mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 16:22:41 +09:00
Document, Comment list manager modal UI update.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12471 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d19ad9c2d0
commit
28492bafa7
10 changed files with 145 additions and 102 deletions
|
|
@ -10,7 +10,7 @@
|
|||
<input type="hidden" name="is_trash" value="false" />
|
||||
|
||||
<!-- 목록 -->
|
||||
<table class="x_table x_table-striped x_table-hover">
|
||||
<table id="commentListTable" class="x_table x_table-striped x_table-hover">
|
||||
<caption>
|
||||
<a href="{getUrl('search_keyword','','search_target','','act','dispCommentAdminList','Y')}">{$lang->all}</a>
|
||||
<i>|</i>
|
||||
|
|
@ -101,3 +101,17 @@
|
|||
<li class="x_disabled"|cond="$page == $page_navigation->last_page"><a href="{getUrl('page', $page_navigation->last_page)}" title="{$page_navigation->last_page}">{$lang->last_page} »</a></li>
|
||||
</ul>
|
||||
</form>
|
||||
<script>
|
||||
jQuery(function($){
|
||||
// Modal anchor activation
|
||||
var $docTable = $('#commentListTable');
|
||||
$docTable.find(':checkbox').change(function(){
|
||||
var $btn = $('#fo_list [type="submit"], #fo_list [type="button"]');
|
||||
if($docTable.find(':checked').length == 0){
|
||||
$btn.addClass('x_disabled');
|
||||
} else {
|
||||
$btn.removeClass('x_disabled');
|
||||
}
|
||||
}).change();
|
||||
});
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue