Compare commits

...

7 Commits

Author SHA1 Message Date
wangyidong
1a636dfe7c * fix bug when update story. 2013-03-05 03:39:16 +00:00
wangyidong
d9b6f2284f * fix bug for colorbox errot in view.html.php. 2013-03-05 01:40:30 +00:00
wangyidong
a36ab1f4d5 * fix bug for no data when batchEdit user. 2013-03-05 01:39:32 +00:00
wangyidong
7b3629cc74 * change recod to recordestimate. 2013-03-03 05:45:48 +00:00
wangyidong
523cb35b46 * add for insert group data in tag. 2013-03-03 04:13:54 +00:00
wangyidong
30922f81f7 + add tag for zentao 4.0.stable. 2013-03-03 02:58:43 +00:00
wangyidong
d856738f60 + add tag for zentaopms 4.0.stable. 2013-03-03 02:05:28 +00:00
6 changed files with 19 additions and 29 deletions

View File

@@ -708,6 +708,18 @@ CREATE TABLE IF NOT EXISTS `zt_webapp` (
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO `zt_group` (`id`, `company`, `name`, `role`, `desc`) VALUES
(1, 1, 'ADMIN', 'admin', 'for administrator'),
(2, 1, 'DEV', 'dev', 'for developers.'),
(3, 1, 'QA', 'qa', 'for testers.'),
(4, 1, 'PM', 'pm', 'for project managers.'),
(5, 1, 'PO', 'po', 'for product owners.'),
(6, 1, 'TD', 'td', 'for technical director.'),
(7, 1, 'PD', 'pd', 'for product director.'),
(8, 1, 'QD', 'qd', 'for quality director.'),
(9, 1, 'TOP', 'top', 'for top manager.'),
(10, 1, 'OTHERS', '', 'for others.'),
(11, 1, 'guest', 'guest', 'For guest');
INSERT INTO `zt_groupPriv` (`company`, `group`, `module`, `method`) VALUES
(1, 1, 'project', 'suspend'),
(1, 1, 'testtask', 'index'),

View File

@@ -5,15 +5,13 @@
<script type="text/javascript">
function path()
{
var args = arguments,
result = []
;
var args = arguments;
var result = [];
for(var i = 0; i < args.length; i++)
result.push(args[i].replace('@', '<?php echo $jsRoot;?>jquery/syntaxhighlighter/scripts/'));
for(var i = 0; i < args.length; i++) result.push(args[i].replace('@', '<?php echo $jsRoot;?>jquery/syntaxhighlighter/scripts/'));
return result
};
}
SyntaxHighlighter.autoloader.apply(null, path(
'applescript @shBrushAppleScript.js',

View File

@@ -344,11 +344,7 @@ class storyModel extends model
->checkIF(isset($story->closedReason) and $story->closedReason == 'subdivided', 'childStories', 'notempty')
->where('id')->eq((int)$storyID)->exec();
if(!dao::isError())
{
$this->setStage($storyID);
return common::createChanges($oldStory, $story);
}
if(!dao::isError()) return common::createChanges($oldStory, $story);
}
/**

View File

@@ -372,7 +372,7 @@ class user extends control
}
elseif($_POST)
{
$this->user->batchEdit();
if($this->post->account) $this->user->batchEdit();
die(js::locate($this->createLink('company', 'browse', "deptID=$deptID"), 'parent'));
}
$this->lang->set('menugroup.user', 'company');

File diff suppressed because one or more lines are too long