Fix: image is hard defined
This commit is contained in:
parent
b70af837df
commit
634b5f7d1b
@ -94,7 +94,7 @@ $(document).ready(function() {
|
|||||||
css: {
|
css: {
|
||||||
border: 'none',
|
border: 'none',
|
||||||
padding: '15px',
|
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',
|
'-webkit-border-radius': '10px',
|
||||||
'-moz-border-radius': '10px',
|
'-moz-border-radius': '10px',
|
||||||
'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'))
|
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" 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";
|
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/core/js/blockUI.js"></script>'."\n";
|
||||||
}
|
}
|
||||||
// Flot
|
// Flot
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user