diff --git a/grog/share_dialog.html b/grog/share_dialog.html new file mode 100644 index 00000000..7d80d62f --- /dev/null +++ b/grog/share_dialog.html @@ -0,0 +1,12 @@ +
diff --git a/js/grog.js b/js/grog.js new file mode 100644 index 00000000..7d1a29da --- /dev/null +++ b/js/grog.js @@ -0,0 +1,23 @@ +function configShare() { + var query = "grog/share_dialog.html"; + + var dialog = new dijit.Dialog({ + id: "feedConfigShare", + title: __("Share options"), + style: "width: 90%", + show_error: function(msg) { + var elem = $("fadd_error_message"); + + elem.innerHTML = msg; + + if (!Element.visible(elem)) + new Effect.Appear(elem); + + }, + execute: function() { + }, + href: query}); + + dialog.show(); +} +