Author: sevein
Date: Thu Nov 18 11:52:57 2010
New Revision: 8852
Log:
Fix last minute bug in updateCheck notification message.
Modified:
trunk/js/updateCheck.js
Modified: trunk/js/updateCheck.js
==============================================================================
--- trunk/js/updateCheck.js Thu Nov 18 00:02:26 2010 (r8851)
+++ trunk/js/updateCheck.js Thu Nov 18 11:52:57 2010 (r8852)
@@ -9,7 +9,8 @@
{
var showNotification = function (version)
{
- if (1 > version_compare(Qubit.updateCheck.currentVersion,
version))
+ // Show notification only when server version is greater
+ if (-1 == version_compare(Qubit.updateCheck.currentVersion,
version))
{
$('<div id="update-check"><span>' +
Qubit.updateCheck.notificationMessage.replace('%1%', version) +
'</span></div>').prependTo('#page');
}
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.