diff --git a/module/testcase/js/common.js b/module/testcase/js/common.js index b9f686ff18..f08c4ac4d7 100644 --- a/module/testcase/js/common.js +++ b/module/testcase/js/common.js @@ -131,7 +131,7 @@ function setStories() productID = $('#product').val(); branch = $('#branch').val(); if(typeof(branch) == 'undefined') branch = 0; - link = createLink('story', 'ajaxGetProductStories', 'productID=' + productID + '&branch=' + branch + '&moduleID=' + moduleID + '&storyID=0&onlyOption=false&status=noclosed&limit=50&type=full&hasParent=1&executionID=' + executionID); + link = createLink('story', 'ajaxGetProductStories', 'productID=' + productID + '&branch=' + branch + '&moduleID=' + moduleID + '&storyID=0&onlyOption=false&status=noclosed&limit=0&type=full&hasParent=1&executionID=' + executionID); $.get(link, function(stories) { @@ -141,7 +141,7 @@ function setStories() $('#story').val(value); $('#story_chosen').remove(); $('#story').next('.picker').remove(); - $("#story").chosen(); + $("#story").picker(); }); } @@ -364,7 +364,7 @@ function loadStories(productID, moduleID, num) { var branchIDName = (config.currentMethod == 'batchcreate' || config.currentMethod == 'showimport') ? '#branch' : '#branches'; var branchID = $(branchIDName + num).val(); - var storyLink = createLink('story', 'ajaxGetProductStories', 'productID=' + productID + '&branch=' + branchID + '&moduleID=' + moduleID + '&storyID=0&onlyOption=false&status=noclosed&limit=50&type=full&hasParent=1&executionID=0&number=' + num); + var storyLink = createLink('story', 'ajaxGetProductStories', 'productID=' + productID + '&branch=' + branchID + '&moduleID=' + moduleID + '&storyID=0&onlyOption=false&status=noclosed&limit=0&type=full&hasParent=1&executionID=0&number=' + num); $.get(storyLink, function(stories) { if(!stories) stories = ''; @@ -378,7 +378,7 @@ function loadStories(productID, moduleID, num) $('#story' + i + "_chosen").remove(); $('#story' + i).next('.picker').remove(); $('#story' + i).attr('name', 'story[' + i + ']'); - $('#story' + i).chosen(); + $('#story' + i).picker(); } } else @@ -387,7 +387,7 @@ function loadStories(productID, moduleID, num) $('#story' + num + "_chosen").remove(); $('#story' + num).next('.picker').remove(); $('#story' + num).attr('name', 'story[' + num + ']'); - $('#story' + num).chosen(); + $('#story' + num).picker(); } }); } diff --git a/module/testcase/view/batchcreate.html.php b/module/testcase/view/batchcreate.html.php index 86afac21b6..ac496f4a04 100644 --- a/module/testcase/view/batchcreate.html.php +++ b/module/testcase/view/batchcreate.html.php @@ -90,7 +90,7 @@ branchBox'> moduleBox' style='overflow:visible'> - storyBox' style='overflow:visible'> id : '', 'class="form-control chosen"');?> + storyBox' style='overflow:visible'> id : '', 'class="form-control picker-select"');?>
@@ -141,7 +141,7 @@ %s branchBox'> moduleBox' style='overflow:visible'> - storyBox' style='overflow:visible'> + storyBox' style='overflow:visible'>
@@ -180,7 +180,7 @@ branchBox'> moduleBox' style='overflow:visible'> - storyBox' style='overflow:visible'> id : '', 'class="form-control chosen"');?> + storyBox' style='overflow:visible'> id : '', 'class="form-control picker-select"');?>
diff --git a/module/testcase/view/batchedit.html.php b/module/testcase/view/batchedit.html.php index a3a38b0cf0..5549ccc491 100644 --- a/module/testcase/view/batchedit.html.php +++ b/module/testcase/view/batchedit.html.php @@ -97,7 +97,7 @@ ' style='overflow:visible'> '/')), $cases[$caseID]->module, "class='form-control chosen' onchange='loadStories($productID, this.value, $caseID)'");?> - ' style='overflow:visible'>story, "class='form-control chosen'");?> + ' style='overflow:visible'>story, "class='form-control picker-select'");?>
diff --git a/module/testcase/view/create.html.php b/module/testcase/view/create.html.php index 4bfecdb21c..e9a6f9a188 100644 --- a/module/testcase/view/create.html.php +++ b/module/testcase/view/create.html.php @@ -84,7 +84,7 @@ foreach(explode(',', $config->testcase->create->requiredFields) as $field) testcase->lblStory;?>
- searchMore . '"');?> + searchMore . '"');?> diff --git a/module/testcase/view/edit.html.php b/module/testcase/view/edit.html.php index 449d189d30..07d9a0a0d6 100644 --- a/module/testcase/view/edit.html.php +++ b/module/testcase/view/edit.html.php @@ -204,7 +204,7 @@ testcase->story;?> -
story, 'class="form-control chosen"');?>
+
story, 'class="form-control picker-select"');?>