← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13123: minor ie8 fix, for idb cursor, do not use .continue function directly, but get it using array not...

 

------------------------------------------------------------
revno: 13123
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-12-03 11:50:54 +0100
message:
  minor ie8 fix, for idb cursor, do not use .continue function directly, but get it using array notation (ie8 does not allow keywords as function names)
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.storage.idb.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.storage.idb.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.storage.idb.js	2013-12-03 09:49:28 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.storage.idb.js	2013-12-03 10:50:54 +0000
@@ -259,7 +259,7 @@
                             records.push( cursor.value );
                         }
 
-                        cursor.continue();
+                        cursor['continue']();
                     } else {
                         deferred.resolveWith( self, [ records ] );
                     }
@@ -293,7 +293,7 @@
 
                     if( cursor ) {
                         keys.push( cursor.key );
-                        cursor.continue();
+                        cursor['continue']();
                     } else {
                         deferred.resolveWith( self, [ keys ] );
                     }