zoneminder/web/js/mootools.ext.js

23 lines
629 B
JavaScript
Raw Normal View History

/*
* MooTools Extension script to support custom extensions to mootools
*/
var zmMooToolsVersion = '1.2.5';
/*
* Firstly, lets check that mootools has been included and thus is present
*/
if ( typeof(MooTools) == "undefined" )
{
alert( "MooTools not found! Please download from\nhttp://mootools.net and install in ZoneMinder web root." );
}
else
{
//console.log( "Got MooTools version "+MooTools.version );
/* Version check */
if ( MooTools.version < zmMooToolsVersion )
{
alert( "MooTools version "+MooTools.version+" found.\nVersion "+zmMooToolsVersion+" required, please upgrade." );
}
}