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:
@@ -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: */
|
||||
Reference in New Issue
Block a user