Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #635 from hoboman313/437
Cannot add annotations to AnnotationCategories
- Loading branch information
Showing
4 changed files
with
31 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,34 @@ | ||
<script type="text/javascript"> | ||
//<![CDATA[ | ||
|
||
var modalUpload = null; | ||
var modalDownload = null; | ||
|
||
function upload_annotation_categories(){ | ||
modalUpload.open(); | ||
return false; | ||
} | ||
|
||
function download_annotation_categories(){ | ||
modalDownload.open(); | ||
return false; | ||
} | ||
|
||
document.observe("dom:loaded", function(){ | ||
modalUpload = new Control.Modal($('upload_dialog'), | ||
{ | ||
overlayOpacity: 0.75, | ||
className: 'modalUpload', | ||
fade: false | ||
}); | ||
|
||
modalDownload = new Control.Modal($('download_dialog'), | ||
{ | ||
overlayOpacity: 0.75, | ||
className: 'modalDownload', | ||
fade: false | ||
|
||
}); | ||
}); | ||
//]]> | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters