mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-22 11:09:11 -04:00
Test performance
This commit is contained in:
15
public/js/plugins/schedule/editor.js
vendored
15
public/js/plugins/schedule/editor.js
vendored
@@ -210,6 +210,19 @@ function loadEventType(date)
|
||||
var foo = $('#'+i);
|
||||
foo.trumbowyg('html', val);
|
||||
}
|
||||
else if(i == "calendar_color")
|
||||
{
|
||||
var foo = $('#'+i);
|
||||
foo.val(val);
|
||||
pickr.setColor(val);
|
||||
}
|
||||
else if(i == "calendar_icon")
|
||||
{
|
||||
var foo = $('#'+i);
|
||||
foo.val(val);
|
||||
$('#calendar_icon_display').removeAttr('class');
|
||||
$('#calendar_icon_display').addClass(val);
|
||||
}
|
||||
});
|
||||
},
|
||||
error: function () {
|
||||
@@ -292,4 +305,4 @@ function updatePlantext(toggle,id)
|
||||
$('#'+id).removeClass('text-success');
|
||||
$('#'+id).html('Plan de cours non remis')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user