Changeset 57
- Timestamp:
- 06/17/07 00:20:47 (2 years ago)
- Files:
-
- VideAnnotateXPI/trunk/srcExtension/chrome.manifest (modified) (1 diff)
- VideAnnotateXPI/trunk/srcExtension/chrome/VideAnnotate/content/applet.html (modified) (1 diff)
- VideAnnotateXPI/trunk/srcExtension/chrome/VideAnnotate/content/itemPane.xul (added)
- VideAnnotateXPI/trunk/srcExtension/chrome/VideAnnotate/content/overlay.js (modified) (1 diff)
- VideAnnotateXPI/trunk/srcExtension/chrome/VideAnnotate/content/overlay.xul (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
VideAnnotateXPI/trunk/srcExtension/chrome.manifest
r49 r57 2 2 3 3 overlay chrome://browser/content/browser.xul chrome://videannotate/content/overlay.xul 4 overlay chrome://zotero/content/overlay.xul chrome://videannotate/content/overlay_z.xul 4 5 overlay chrome://zotero/content/itemPane.xul chrome://videannotate/content/itemPane.xul 5 6 6 7 skin videannotate global chrome/videannotate/skin/global/ VideAnnotateXPI/trunk/srcExtension/chrome/VideAnnotate/content/applet.html
r55 r57 8 8 9 9 <applet code="org.videannotate.app.VideoAnnotater" 10 archive="SVideAnnotate.jar" width= 200 height=200>10 archive="SVideAnnotate.jar" width="533" height="400" > 11 11 <script> 12 12 var regexS3 = "[\\?&]url=([^&#]*)"; VideAnnotateXPI/trunk/srcExtension/chrome/VideAnnotate/content/overlay.js
r50 r57 13 13 isMineToDevour: function(item) { 14 14 // initialization code 15 if(item.getType() == 28) return true 15 16 if(!item) return false; 16 alert(item.getType());17 17 return false; 18 18 }, 19 19 20 workItOut: function(XulThingy) { 20 21 workItOut: function(button, event, XulThingy) { 21 22 if(this.isMineToDevour( 22 23 XulThingy.itemsView._getItemAtRow( 23 24 XulThingy.itemsView.selection.currentIndex))) { 24 25 var url = button.getAttribute('viewURL'); 26 XulThingy.loadURI("chrome://videannotate/content/videannotate.xul?url=" + url, event); 25 27 } else { 26 Zotero Pane.itemSelected();28 ZoteroItemPane.onViewClick(button, event); 27 29 } 28 30 }
