* Fix bug #20594.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/* Set the story module. */
|
||||
function setStoryModule()
|
||||
{
|
||||
var storyID = $('#story').val();
|
||||
if(storyID)
|
||||
{
|
||||
var link = createLink('story', 'ajaxGetInfo', 'storyID=' + storyID);
|
||||
$.getJSON(link, function(storyInfo)
|
||||
{
|
||||
if(storyInfo)
|
||||
{
|
||||
$('#module').val(storyInfo.moduleID);
|
||||
$("#module").trigger("chosen:updated");
|
||||
|
||||
$('#storyEstimate').val(storyInfo.estimate);
|
||||
$('#storyPri' ).val(storyInfo.pri);
|
||||
$('#storyDesc' ).val(storyInfo.spec);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -169,28 +169,6 @@ function setStoryRelated()
|
||||
setStoryModule();
|
||||
}
|
||||
|
||||
/* Set the story module. */
|
||||
function setStoryModule()
|
||||
{
|
||||
var storyID = $('#story').val();
|
||||
if(storyID)
|
||||
{
|
||||
var link = createLink('story', 'ajaxGetInfo', 'storyID=' + storyID);
|
||||
$.getJSON(link, function(storyInfo)
|
||||
{
|
||||
if(storyInfo)
|
||||
{
|
||||
$('#module').val(storyInfo.moduleID);
|
||||
$("#module").trigger("chosen:updated");
|
||||
|
||||
$('#storyEstimate').val(storyInfo.estimate);
|
||||
$('#storyPri' ).val(storyInfo.pri);
|
||||
$('#storyDesc' ).val(storyInfo.spec);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/* Set the story priview link. */
|
||||
function setPreview()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user