Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x
This commit is contained in:
commit
a1dfad0c50
1 changed files with 2 additions and 2 deletions
|
@ -405,10 +405,10 @@ function convertDateToPosixTime(s){
|
||||||
*/
|
*/
|
||||||
function checkWidgetVersion(data){
|
function checkWidgetVersion(data){
|
||||||
var widgetVersion = data['widgetVersion'];
|
var widgetVersion = data['widgetVersion'];
|
||||||
//console.log(widgetVersion);
|
|
||||||
if (undefined === widgetVersion || widgetVersion > 1)
|
if (undefined === widgetVersion || widgetVersion > 1)
|
||||||
throw 'The widgets you are using are out of date, please get the latest jquery.showinfo.js file.';
|
throw 'The widgets you are using are out of date, please get the latest jquery.showinfo.js file.';
|
||||||
else if (widgetVersion < 1)
|
else if (widgetVersion < 1)
|
||||||
throw 'The version of airtime that you are using should be upgraded to work with this widget';
|
throw 'The version of airtime that you are using should be upgraded to work with this widget.';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue