Work on adding image upload to add-show form
This commit is contained in:
parent
cc3ddb40ea
commit
cb80423fdd
8 changed files with 151 additions and 58 deletions
|
@ -8,6 +8,8 @@ function openAddShowForm() {
|
|||
if($("#add-show-form").length == 1) {
|
||||
if( ($("#add-show-form").css('display')=='none')) {
|
||||
$("#add-show-form").show();
|
||||
$("#add-show-form").prop("enctype", "multipart/form-data");
|
||||
|
||||
/*
|
||||
var windowWidth = $(window).width();
|
||||
// margin on showform are 16 px on each side
|
||||
|
@ -579,7 +581,7 @@ function setAddShowEvents(form) {
|
|||
}
|
||||
})
|
||||
|
||||
form.find("#schedule-show-style input").ColorPicker({
|
||||
form.find("#schedule-show-style input .input_text").ColorPicker({
|
||||
onChange: function (hsb, hex, rgb, el) {
|
||||
$(el).val(hex);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue