* fix a bug in modal and fix export todo.

This commit is contained in:
wyd621
2014-05-02 05:48:24 +00:00
parent bac0479268
commit 13e635c8bf
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,11 +2,11 @@
<?php if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
<div id='divider'></div>
<iframe frameborder='0' name='hiddenwin' id='hiddenwin' scrolling='no' class='debugwin hidden'></iframe>
<?php $onlybody = zget($_GET, 'onlybody', 'no');?>
<?php if($onlybody != 'yes'):?>
</div><?php /* end '#wrap' in 'header.html.php'. */ ?>
<div id='footer'>
<iframe frameborder='0' name='hiddenwin' id='hiddenwin' scrolling='no' class='debugwin hidden'></iframe>
<div id="crumbs">
<?php commonModel::printBreadMenu($this->moduleName, isset($position) ? $position : ''); ?>
</div>
+1 -1
View File
@@ -40,7 +40,7 @@
<script>$('#<?php echo $type;?>').addClass('active')</script>
</ul>
<div class='actions'>
<?php echo html::a(helper::createLink('todo', 'export', "account=$account&orderBy=id_desc"), "<i class='icon-download-alt'></i> " . $lang->todo->export, '', "class='btn iframe'") ?>
<?php echo html::a(helper::createLink('todo', 'export', "account=$account&orderBy=id_desc"), "<i class='icon-download-alt'></i> " . $lang->todo->export, '', "class='btn export'") ?>
<?php echo html::a(helper::createLink('todo', 'batchCreate'), "<i class='icon-plus-sign'></i> " . $lang->todo->batchCreate, '', "class='btn'") ?>
<?php echo html::a(helper::createLink('todo', 'create', "date=" . str_replace('-', '', $date)), "<i class='icon-plus'></i> " . $lang->todo->create, '', "class='btn'") ?>
</div>
+1 -1
View File
@@ -1087,7 +1087,7 @@ $(document).ready(function()
if(needPing) setTimeout('setPing()', 1000 * 60); // After 5 minutes, begin ping.
$('.export').bind('click', function()
$('.export').bind('mousedown', function()
{
var checkeds = '';
$(':checkbox').each(function()