You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
449 B
JavaScript
22 lines
449 B
JavaScript
13 years ago
|
function shareArticle(id) {
|
||
|
try {
|
||
|
if (dijit.byId("shareArticleDlg"))
|
||
|
dijit.byId("shareArticleDlg").destroyRecursive();
|
||
|
|
||
12 years ago
|
var query = "backend.php?op=pluginhandler&plugin=share&method=shareArticle¶m=" + param_escape(id);
|
||
13 years ago
|
|
||
|
dialog = new dijit.Dialog({
|
||
|
id: "shareArticleDlg",
|
||
|
title: __("Share article by URL"),
|
||
|
style: "width: 600px",
|
||
|
href: query});
|
||
|
|
||
|
dialog.show();
|
||
|
|
||
|
} catch (e) {
|
||
|
exception_error("emailArticle", e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|