* zin: rename js to pageJS.
This commit is contained in:
@@ -17,7 +17,7 @@ jsVar('meeting', isset($meetings) ? $meetings : array());
|
||||
jsVar('researchReports', isset($researchReports) ? $researchReports : array());
|
||||
jsVar('productStoryList', $productStoryList);
|
||||
|
||||
if(!empty($twinsTip)) js("zui.Modal.alert({message: '{$twinsTip}', icon: 'icon-exclamation-sign', iconClass: 'warning-pale rounded-full icon-2x'});\n");
|
||||
if(!empty($twinsTip)) pageJS("zui.Modal.alert({message: '{$twinsTip}', icon: 'icon-exclamation-sign', iconClass: 'warning-pale rounded-full icon-2x'});\n");
|
||||
|
||||
$fields = $config->story->form->batchEdit;
|
||||
$showFields = array('module', 'title', 'estimate', 'pri', 'assignedTo', 'status', 'closedBy', 'closedReason', 'keywords');
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace zin;
|
||||
|
||||
require_once __DIR__ . DS . 'context.class.php';
|
||||
|
||||
function js()
|
||||
function pageJS()
|
||||
{
|
||||
call_user_func_array('\zin\context::js', func_get_args());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace zin;
|
||||
|
||||
jsVar('twinsCount', $twinsCount);
|
||||
jsVar('langTwins', $lang->story->twins . ': ');
|
||||
if(!empty($errorTips)) js("zui.Modal.alert({message: '{$errorTips}', icon: 'icon-exclamation-sign', iconClass: 'warning-pale rounded-full icon-2x'});\n");
|
||||
if(!empty($errorTips)) pageJS("zui.Modal.alert({message: '{$errorTips}', icon: 'icon-exclamation-sign', iconClass: 'warning-pale rounded-full icon-2x'});\n");
|
||||
|
||||
unset($lang->story->reasonList['subdivided']);
|
||||
foreach($lang->story->reasonList as $key => $value)
|
||||
|
||||
@@ -19,7 +19,7 @@ jsVar('researchReports', isset($researchReports) ? $researchReports : array());
|
||||
jsVar('productStoryList', $productStoryList);
|
||||
jsVar('storyType', $storyType);
|
||||
|
||||
if(!empty($twinsTip)) js("zui.Modal.alert({message: '{$twinsTip}', icon: 'icon-exclamation-sign', iconClass: 'warning-pale rounded-full icon-2x'});\n");
|
||||
if(!empty($twinsTip)) pageJS("zui.Modal.alert({message: '{$twinsTip}', icon: 'icon-exclamation-sign', iconClass: 'warning-pale rounded-full icon-2x'});\n");
|
||||
|
||||
$fields = $config->story->form->batchEdit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user