diff options
author | Alex Legler <alex@a3li.li> | 2011-02-25 20:41:44 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2011-02-25 20:41:44 +0100 |
commit | 3ac054635be29a077332679d23915f5091449d5d (patch) | |
tree | 05cf214ddcd3d7748a6f6da2df6ca527d46c39ba /public | |
parent | Add a method to invalidate the last_revision cache (diff) | |
download | glsamaker-3ac054635be29a077332679d23915f5091449d5d.tar.gz glsamaker-3ac054635be29a077332679d23915f5091449d5d.tar.bz2 glsamaker-3ac054635be29a077332679d23915f5091449d5d.zip |
Implement importing references to a draft
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/glsamaker_edit.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/public/javascripts/glsamaker_edit.js b/public/javascripts/glsamaker_edit.js index 256dae4..3059727 100644 --- a/public/javascripts/glsamaker_edit.js +++ b/public/javascripts/glsamaker_edit.js @@ -53,6 +53,12 @@ GLSAMaker.editing.references = function() { td.remove(); } }); + }, + /** + * Opens a dialog to import references from external data + */ + import_dialog : function(glsa_id) { + Modalbox.show("/glsa/import_references/" + glsa_id, {title: "Import references", width: 800}); } }; }(); |