mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4110 - Fix JS error message when no provider for the newsroom
This commit is contained in:
@@ -87,7 +87,10 @@ $(function()
|
|||||||
_load: function()
|
_load: function()
|
||||||
{
|
{
|
||||||
var me = this;
|
var me = this;
|
||||||
setTimeout(function() { me._getAllMessages(); }, 1000);
|
|
||||||
|
if(this.options.providers.length > 0) {
|
||||||
|
setTimeout(function() { me._getAllMessages(); }, 1000);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
_getAllMessages: function()
|
_getAllMessages: function()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user