forked from Wavyzz/dolibarr
Fix: image is hard defined
This commit is contained in:
@@ -94,7 +94,7 @@ $(document).ready(function() {
|
||||
css: {
|
||||
border: 'none',
|
||||
padding: '15px',
|
||||
background: '#000 url(/theme/eldy/img/working2.gif) no-repeat 10px center',
|
||||
background: '#000 url(' + indicatorBlockUI + ') no-repeat 10px center',
|
||||
'-webkit-border-radius': '10px',
|
||||
'-moz-border-radius': '10px',
|
||||
'border-radius': '10px',
|
||||
|
||||
@@ -968,6 +968,9 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
|
||||
if (! empty($conf->global->MAIN_USE_JQUERY_BLOCKUI) || defined('REQUIRE_JQUERY_BLOCKUI'))
|
||||
{
|
||||
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/jquery/plugins/blockUI/jquery.blockUI.js"></script>'."\n";
|
||||
print '<script type="text/javascript">'."\n";
|
||||
print 'var indicatorBlockUI = \'<img src="'.DOL_URL_ROOT."/theme/".$conf->theme."/img/working2.gif".'">\';'."\n";
|
||||
print '</script>'."\n";
|
||||
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/core/js/blockUI.js"></script>'."\n";
|
||||
}
|
||||
// Flot
|
||||
|
||||
Reference in New Issue
Block a user