2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

updated admin panel files

added 'clockpicker'  library (could replace jquerry-ui timepicker later on in some files)
modified functions.display.php to handle external classes
modified addrow-v2.js to display cloned values and init clockpicker
This commit is contained in:
Alex
2015-03-05 13:25:46 +03:00
parent 08297ea098
commit 7f80ad71e1
18 changed files with 2567 additions and 449 deletions

View File

@@ -90,7 +90,7 @@ function addRow() {
continue;
s = t[0] + "[" + rowCount.toString() + "]";
element.setAttribute("name", s);
element.value = "";
//element.value = ""; /* <-- this row deletes cloned tag values */
}
elements = newRow.getElementsByTagName("select");
@@ -108,10 +108,14 @@ function addRow() {
element.value = "";
}
/* Add the newly-created row to the table */
templateRow.parentNode.appendChild(newRow);
/* init clockpicker for added row*/
$('.clockpicker').clockpicker({
autoclose: true
});
return true;
}
/* set ts=8 sw=4 sts=4 expandtab: */
/* set ts=8 sw=4 sts=4 expandtab: */