This commit is contained in:
Kevin Adametz 2020-05-06 15:52:59 +02:00
parent 68b9d1ff88
commit b9c26d06d0
75 changed files with 2143 additions and 818 deletions

View file

@ -385,6 +385,21 @@ figcaption {
border-left:1px solid #768394
}
.btn-outline-next {
border-color: #8897AA;
background: transparent;
color: #8897AA;
}
.btn-outline-next:hover {
border-color: transparent;
background: #8897AA;
color: #fff;
}
.badge-md {
font-size: 0.95em;
}
@ -444,3 +459,14 @@ div.dropzone.dz-drag-hover {
border-style: dashed;
}
.ql-picker.ql-placeholder {
width: 102px;
}
.ql-picker.ql-placeholder > span.ql-picker-label::before {
content: 'Platzhalter';
}
.ql-picker.ql-placeholder > span.ql-picker-options > span.ql-picker-item::before {
content: attr(data-label);
}

View file

@ -196,11 +196,13 @@ function ajax_object_action(event, object, callback) {
event.preventDefault();
var data = {};
$.each(object.data(), function(index, value){
data[index] = value;
if(typeof value !== 'object'){
data[index] = value;
}
});
var url = data['url'];
//console.log(data);
//console.log(url);
console.log(data);
console.log(url);
$.ajax({
url: url,
data: data,