* finish task #2144.
This commit is contained in:
@@ -863,7 +863,7 @@ class story extends control
|
||||
$moduleID = $this->tree->getAllChildID($moduleID);
|
||||
}
|
||||
$stories = $this->story->getProjectStoryPairs($projectID, $productID, $moduleID, $type);
|
||||
die(html::select('story' . $number, $stories, $storyID, 'class=form-control onchange=setStoryRelated(' . $number . ');'));
|
||||
die(html::select("story[$number]", $stories, $storyID, 'class=form-control onchange=setStoryRelated(' . $number . ');'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -11,7 +11,7 @@ function setStories(moduleID, projectID, num)
|
||||
$.get(link, function(stories)
|
||||
{
|
||||
var storyID = $('#story' + num).val();
|
||||
if(!stories) stories = '<select id="story' + num + '" name="story' + num + '" class="select-1"></select>';
|
||||
if(!stories) stories = '<select id="story[' + num + ']" name="story' + num + '" class="select-1"></select>';
|
||||
$('#story' + num).replaceWith(stories);
|
||||
if(moduleID == 0) $('#story' + num).append("<option value='ditto'>" + ditto + "</option>")
|
||||
$('#story' + num).val(storyID);
|
||||
|
||||
Reference in New Issue
Block a user