changeset 1129:9e85efcfbb0c

removed more superfluous commas. added json2.js for old browsers (annotations still don't work in in ie6 and ff2.0 :-)
author robcast
date Fri, 09 Nov 2012 20:10:51 +0100
parents fcafcc8996be
children f523a1c8edaa
files webapp/src/main/webapp/jquery/digilib-ann.html webapp/src/main/webapp/jquery/jquery.digilib.annotator.js
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/digilib-ann.html	Fri Nov 09 19:48:04 2012 +0100
+++ b/webapp/src/main/webapp/jquery/digilib-ann.html	Fri Nov 09 20:10:51 2012 +0100
@@ -11,6 +11,7 @@
             }
         </style>
 
+        <script type="text/javascript" src="json2.js"></script>
         <script type="text/javascript" src="jquery.js"></script>
         <script type="text/javascript" src="jquery.cookie.js"></script>
         <script type="text/javascript" src="jquery.digilib.js"></script>
--- a/webapp/src/main/webapp/jquery/jquery.digilib.annotator.js	Fri Nov 09 19:48:04 2012 +0100
+++ b/webapp/src/main/webapp/jquery/jquery.digilib.annotator.js	Fri Nov 09 20:10:51 2012 +0100
@@ -86,7 +86,7 @@
                 	//'uri': getAnnotationPageUrl()
                 }, 
                 loadFromSearch: {
-                    'limit': 20,
+                    'limit': 20
                     //'uri': getAnnotationPageUrl()
                 }
             }
@@ -434,7 +434,7 @@
         		'autoFetch' : true,
 	            'requestMethod' : 'POST',
 	            'requestData' : {
-	            	'user': settings.annotationUser,
+	            	'user': settings.annotationUser
 	            },
 	            'unauthorizedCallback' : getHandleUnauthorized(data)
         	},