Don't open the dialog for logo and background
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c2350f237e
commit
37d333c3b5
|
@ -161,7 +161,8 @@ $(document).ready(function () {
|
|||
$('#uploadlogo').fileupload(uploadParamsLogo);
|
||||
$('#upload-login-background').fileupload(uploadParamsLogin);
|
||||
// clicking preview should also trigger file upload dialog
|
||||
$('#theming-preview-logo').on('click', function() {
|
||||
$('#theming-preview-logo').on('click', function(e) {
|
||||
e.stopPropagation();
|
||||
$('#uploadlogo').click();
|
||||
});
|
||||
$('#theming-preview').on('click', function() {
|
||||
|
|
Loading…
Reference in New Issue