* Finish task #3224.
This commit is contained in:
@@ -40,10 +40,10 @@ function setStoryModule()
|
||||
var storyID = $('#story').val();
|
||||
if(storyID)
|
||||
{
|
||||
var link = createLink('story', 'ajaxGetModule', 'storyID=' + storyID);
|
||||
$.get(link, function(moduleID)
|
||||
var link = createLink('story', 'ajaxGetInfo', 'storyID=' + storyID);
|
||||
$.getJSON(link, function(storyInfo)
|
||||
{
|
||||
$('#module').val(moduleID);
|
||||
$('#module').val(storyInfo.moduleID);
|
||||
$("#module").trigger("chosen:updated");
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user