Permalink
Browse files

Releasing v0.2.2 of Google Analytics Annotations Manager.

Changelog :
-    Fix selectors due to march upgrade of GA code
  • Loading branch information...
1 parent 1fbba57 commit 5fbf077f62a7c4bdf382c92fe6a9ed5ec21ac85e @gierschv committed Mar 15, 2012
Showing with 10 additions and 10 deletions.
  1. +10 −10 GA-AnnotationsManager.user.js
@@ -129,26 +129,26 @@
var annotationsArray = localStorage.getItem('annotations');
if (annotationsArray && (annotationsArray = JSON.parse(annotationsArray).length) > 0)
{
- $('#AnnotationDrawer_controls').find('a.VR.Li').parent().append('<span id="AnnotationManagerWrapper">\
- &nbsp;&nbsp; | &nbsp;&nbsp; <a id="AnnotationManager_paste" class="VR" onclick="return false;" href="#">Paste ' +
+ $('#AnnotationDrawer_controls').find('a.Hi.LS').parent().append('<span id="AnnotationManagerWrapper">\
+ &nbsp;&nbsp; | &nbsp;&nbsp; <a id="AnnotationManager_paste" class="Hi" onclick="return false;" href="#">Paste ' +
annotationsArray + ' annotation(s)</a>\
- &nbsp;&nbsp; | &nbsp;&nbsp; <a id="AnnotationManager_show" class="VR" onclick="return false;" href="#">Show annotation(s) in localstorage</a>\
- &nbsp;&nbsp; | &nbsp;&nbsp; <a id="AnnotationManager_cancelcpy" class="VR" onclick="return false;" href="#">Cancel copy</a>\
+ &nbsp;&nbsp; | &nbsp;&nbsp; <a id="AnnotationManager_show" class="Hi" onclick="return false;" href="#">Show annotation(s) in localstorage</a>\
+ &nbsp;&nbsp; | &nbsp;&nbsp; <a id="AnnotationManager_cancelcpy" class="Hi" onclick="return false;" href="#">Cancel copy</a>\
</span>');
$('#AnnotationManager_paste').click(pasteAnnotations);
$('#AnnotationManager_show').click(showAnnotations);
$('#AnnotationManager_cancelcpy').click(cancelCpyAnnotations);
return true;
}
- $('#AnnotationDrawer_controls').find('a.VR.Li').parent().append('<span id="AnnotationManagerWrapper">\
- | &nbsp;&nbsp;<a id="AnnotationManager_copy" class="VR" onclick="return false;" href="#">Copy annotation(s)</a>\
- &nbsp;&nbsp; | &nbsp;&nbsp;<a id="AnnotationManager_remove" class="VR" onclick="return false;" href="#">Remove annotation(s)</a>\
- &nbsp;&nbsp; | &nbsp;&nbsp;<a id="AnnotationManager_export" class="VR" onclick="return false;" href="#">Export annotation(s) as CSV</a>\
+ $('#AnnotationDrawer_controls').find('a.Hi.LS').parent().append('<span id="AnnotationManagerWrapper">\
+ | &nbsp;&nbsp;<a id="AnnotationManager_copy" class="Hi" onclick="return false;" href="#">Copy annotation(s)</a>\
+ &nbsp;&nbsp; | &nbsp;&nbsp;<a id="AnnotationManager_remove" class="Hi" onclick="return false;" href="#">Remove annotation(s)</a>\
+ &nbsp;&nbsp; | &nbsp;&nbsp;<a id="AnnotationManager_export" class="Hi" onclick="return false;" href="#">Export annotation(s) as CSV</a>\
&nbsp;&nbsp; |&nbsp;\
Select :\
- <a id="AnnotationManager_select_all" class="VR" onclick="return false;" href="#">All</a>\
- &nbsp;&nbsp;| &nbsp;&nbsp;<a id="AnnotationManager_select_none" class="VR" onclick="return false;" href="#">None</a>\
+ <a id="AnnotationManager_select_all" class="Hi" onclick="return false;" href="#">All</a>\
+ &nbsp;&nbsp;| &nbsp;&nbsp;<a id="AnnotationManager_select_none" class="Hi" onclick="return false;" href="#">None</a>\
</span>');
$('#AnnotationsDrawer_list > tbody:eq(1) > tr').append('<td class="AnnotationManager_chckbx"><input type="checkbox" /></td>');

0 comments on commit 5fbf077

Please sign in to comment.