mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
NEW Move the upload input on top right in ECM module
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// Examples
|
||||
$(document).ready(function() {
|
||||
// override these in your code to change the default behavior and style
|
||||
$.blockUI.events = {
|
||||
/*$.blockUI.events = {
|
||||
|
||||
// styles applied when using $.growlUI
|
||||
dolEventValidCSS: {
|
||||
@@ -59,7 +59,7 @@ $(document).ready(function() {
|
||||
'border-radius': '10px'
|
||||
}
|
||||
|
||||
};
|
||||
};*/
|
||||
|
||||
$.dolEventValid = function(title, message, timeout, onClose) {
|
||||
var $m = $('<div class="dolEventValid"></div>');
|
||||
@@ -67,7 +67,7 @@ $(document).ready(function() {
|
||||
if (message) $m.append('<h2>'+message+'</h2>');
|
||||
if (timeout == undefined) timeout = 3000;
|
||||
$.blockUI({
|
||||
message: $m, fadeIn: 200, fadeOut: 700, centerY: false,
|
||||
message: $m, fadeIn: 0, fadeOut: 0, centerY: false,
|
||||
timeout: timeout, showOverlay: false,
|
||||
onUnblock: onClose,
|
||||
css: $.blockUI.events.dolEventValidCSS
|
||||
@@ -80,7 +80,7 @@ $(document).ready(function() {
|
||||
if (message) $m.append('<h2>'+message+'</h2>');
|
||||
if (timeout == undefined) timeout = 0;
|
||||
$.blockUI({
|
||||
message: $m, fadeIn: 200, centerY: false,
|
||||
message: $m, fadeIn: 0, centerY: false,
|
||||
timeout: timeout, showOverlay: false,
|
||||
onUnblock: onClose,
|
||||
css: $.blockUI.events.dolEventErrorCSS
|
||||
@@ -98,7 +98,6 @@ $(document).ready(function() {
|
||||
'-webkit-border-radius': '10px',
|
||||
'-moz-border-radius': '10px',
|
||||
'border-radius': '10px',
|
||||
opacity: .5,
|
||||
color: '#fff'
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user