Castecne funkcni rozpocet

This commit is contained in:
Michal Kváček
2018-12-06 15:16:00 +01:00
parent faf0a9c642
commit c7b98c8313
8 changed files with 397 additions and 294 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ function renameInputs() {
var i = 0;
items.each (function () {
var $rows = $ (this).find ('input');
var $rows = $ (this).find ('input,select');
$rows.each (function () {
var name = $ (this).attr ('name');
$ (this).attr ('name', name.replace (/\[[0-9]+\]/g, '[' + i + ']'));
+1 -1
View File
@@ -3,7 +3,7 @@
@import "timeline";
@import "gallery";
.program-template:first-child, .template:first-child {
.item-template:first-child, .program-template:first-child, .template:first-child {
.js-remove-program {
display: none;
}