diff --git a/module/bug/css/batchcreate.css b/module/bug/css/batchcreate.css index 9449741f33..9fa73c284f 100644 --- a/module/bug/css/batchcreate.css +++ b/module/bug/css/batchcreate.css @@ -6,5 +6,6 @@ .c-build, .c-browser, .c-keywords {width: 100px;} .c-steps {width: 150px;} .c-pri, .c-severity {width: 80px;} +.c-actions {width: 60px;} [lang^=de] .c-build {width: 110px} [lang^=fr] .c-build {width: 110px} diff --git a/module/bug/js/batchcreate.js b/module/bug/js/batchcreate.js index b87c21141d..07d1e30920 100644 --- a/module/bug/js/batchcreate.js +++ b/module/bug/js/batchcreate.js @@ -236,3 +236,35 @@ $(document).keydown(function(event) inputFocusJump('down'); } }); + +/** + * Add item. + * + * @param object $obj + * @access public + * @return void + */ +function addItem(obj) +{ + var item = $('#addItem').html().replace(/%i%/g, itemIndex + 1); + $('