Skip to content
Snippets Groups Projects
Commit 634b5f7d authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: image is hard defined

parent b70af837
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment