diff --git a/module/story/view/header.html.php b/module/story/view/header.html.php
index 94df67a275..764ee86162 100644
--- a/module/story/view/header.html.php
+++ b/module/story/view/header.html.php
@@ -125,11 +125,11 @@ function loadProductBranches(productID)
$('#branches0').next('.picker').remove();
$('#branches0').chosen();
- $.get(createLink('tree', 'ajaxGetOptionMenu', 'productID=' + productID + '&viewtype=story&branch=0' + '&rootModuleID=0&returnType=html&fieldID=0' + '&needManage=false&extra=¤tModuleID=0'), function(moduleData)
+ $.get(createLink('tree', 'ajaxGetOptionMenu', 'productID=' + productID + '&viewtype=story&branch=0' + '&rootModuleID=0&returnType=html&fieldID=0' + '&needManage=false&extra=¤tModuleID=0'), function(moduleOption)
{
- if(moduleData)
+ if(moduleOption)
{
- $('#modules0').replaceWith(moduleData);
+ $('#modules0').replaceWith(moduleOption);
$('#modules0' + "_chosen").remove();
$('#modules0').next('.picker').remove();
$('#modules0').chosen();
@@ -137,11 +137,11 @@ function loadProductBranches(productID)
});
var expired = config.currentMethod == 'create' ? 'unexpired' : '';
- $.get(createLink('product', 'ajaxGetPlans', 'productID=' + productID + '&branch=0' + '&planID=' + $('#plan').val() + '&fieldID=0' + '&needCreate=false&expired='+ expired +'¶m=skipParent,' + config.currentMethod), function(planData)
+ $.get(createLink('product', 'ajaxGetPlans', 'productID=' + productID + '&branch=0' + '&planID=' + $('#plan').val() + '&fieldID=0' + '&needCreate=false&expired='+ expired +'¶m=skipParent,' + config.currentMethod), function(planOption)
{
- if(planData)
+ if(planOption)
{
- $('#plans0').replaceWith(planData);
+ $('#plans0').replaceWith(planOption);
$('#plans0' + "_chosen").remove();
$('#plans0').next('.picker').remove();
$('#plans0').chosen();