* Finish task #59472.

This commit is contained in:
tianshujie
2022-07-05 13:19:03 +08:00
parent 7a01041c35
commit 4e05cb1916
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ select[id^="story"] + .picker-single {width: 130px; max-width: 130px;}
.main-header .pull-left {max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
#zeroTaskStory {margin: 0 0 0 20px; height: 32px; padding: 5px 5px 5px 5px; border-radius: 3px; border: 2px solid transparent;}
[lang^='en'] #zeroTaskStory {max-width: 205px !important;}
[lang^='de'] #zeroTaskStory {max-width: 220px !important;}
[lang^='en'] #zeroTaskStory {max-width: 210px !important;}
[lang^='de'] #zeroTaskStory {max-width: 225px !important;}
[lang^='fr'] #zeroTaskStory {max-width: 265px !important;}
#zeroTaskStory > label:before {top: 7px; left: 5px;}
#zeroTaskStory > label:after {top: 7px; left: 5px;}
+2
View File
@@ -365,8 +365,10 @@ $(function()
*/
function addItem(obj)
{
var item = $('#addItem').html().replace(/%i%/g, itemIndex + 1);
$('<tr class="addedItem">' + item + '</tr>').insertAfter($(obj).closest('tr'));
$(".form-date").datepicker();
itemIndex ++;
}
+1 -1
View File
@@ -181,7 +181,6 @@ $colspan = count($visibleFields) + 3;
<?php endif;?>
</td>
</tr>
<?php js::set('itemIndex', $i)?>
<?php endfor;?>
</tbody>
<tfoot>
@@ -196,6 +195,7 @@ $colspan = count($visibleFields) + 3;
</div>
</form>
</div>
<?php js::set('itemIndex', -- $i);?>
<table class='template' id='trTemp'>
<tbody>
<tr>