version 1.14.1 (#2532)

* no back links in modal pages
* remove unused service links to bountysource and gitter
* add validation for budget and time-budget fields
* display time budget if set
* remove console log
* sanitize DDE payloads
* do not show status and name in version string
This commit is contained in:
Kevin Papst
2021-04-29 18:29:03 +02:00
committed by GitHub
parent 22af82cb15
commit dad1b8b772
74 changed files with 1770 additions and 2076 deletions

View File

@@ -71,12 +71,6 @@ require('moment/locale/zh-cn');
require('daterangepicker');
/*
"sortablejs": "^1.10",
const Sortable = require('sortablejs/Sortable.min');
global.Sortable = Sortable;
*/
// ------ AdminLTE framework ------
require('./sass/bootstrap.scss');
require('./sass/fontawesome.scss');

View File

@@ -11,7 +11,6 @@
import jQuery from 'jquery';
import KimaiPlugin from '../KimaiPlugin';
import moment from "moment";
export default class KimaiDatePicker extends KimaiPlugin {

View File

@@ -49,7 +49,9 @@ export default class KimaiForm extends KimaiPlugin {
// If a multi-select, get all selections
if (field.type === 'select-multiple') {
for (var n = 0; n < field.options.length; n++) {
if (!field.options[n].selected) continue;
if (!field.options[n].selected) {
continue;
}
serialized.push({
name: field.name,
value: field.options[n].value

View File

@@ -111,7 +111,6 @@ export default class KimaiFormSelect extends KimaiPlugin {
}};
const templateResultFunc = function (state) {
console.log(state);
return jQuery('<span><span style="background-color:'+state.id+'; width: 20px; height: 20px; display: inline-block; margin-right: 10px;">&nbsp;</span>' + state.text + '</span>');
};