Merge branch 'master' of github.com:easysoft/zentaopms
This commit is contained in:
@@ -78,8 +78,8 @@
|
||||
<td><?php echo isset($file->addedDate) ? substr($file->addedDate, 0, 10) : '';?></td>
|
||||
<td class='text-center'>
|
||||
<?php
|
||||
commonModel::printLink('file', 'download', "fileID=$file->id", $lang->doc->download, "data-toggle='modal'");
|
||||
commonModel::printLink('file', 'delete', "fileID=$file->id", $lang->delete, "class='deleter'");
|
||||
common::printLink('file', 'download', "fileID=$file->id", $lang->doc->download, "data-toggle='modal'");
|
||||
common::printLink('file', 'delete', "fileID=$file->id", $lang->delete, 'hiddenwin');
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -18,11 +18,12 @@ $config->project->custom = new stdclass();
|
||||
$config->project->custom->batchEditFields = 'days,status,PM';
|
||||
|
||||
$config->project->editor = new stdclass();
|
||||
$config->project->editor->create = array('id' => 'desc', 'tools' => 'simpleTools');
|
||||
$config->project->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools');
|
||||
$config->project->editor->putoff = array('id' => 'comment', 'tools' => 'simpleTools');
|
||||
$config->project->editor->close = array('id' => 'comment', 'tools' => 'simpleTools');
|
||||
$config->project->editor->suspend = array('id' => 'comment', 'tools' => 'simpleTools');
|
||||
$config->project->editor->create = array('id' => 'desc', 'tools' => 'simpleTools');
|
||||
$config->project->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools');
|
||||
$config->project->editor->putoff = array('id' => 'comment', 'tools' => 'simpleTools');
|
||||
$config->project->editor->activate = array('id' => 'comment', 'tools' => 'simpleTools');
|
||||
$config->project->editor->close = array('id' => 'comment', 'tools' => 'simpleTools');
|
||||
$config->project->editor->suspend = array('id' => 'comment', 'tools' => 'simpleTools');
|
||||
|
||||
$config->project->search['module'] = 'task';
|
||||
$config->project->search['fields']['name'] = $lang->task->name;
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/datepicker.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<?php js::import($jsRoot . 'misc/date.js');?>
|
||||
<div class='container'>
|
||||
<div id='titlebar'>
|
||||
|
||||
@@ -50,7 +50,7 @@ function setStoryRelated(num)
|
||||
var link = createLink('story', 'ajaxGetModule', 'storyID=' + storyID);
|
||||
$.get(link, function(moduleID)
|
||||
{
|
||||
$('#module' + num).val(moduleID);
|
||||
$('#module' + num).val(parseInt(moduleID));
|
||||
$('#module' + num).trigger("chosen:updated");
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user