summaryrefslogtreecommitdiffstats
path: root/idrop-web/grails-app/views
diff options
context:
space:
mode:
authormconway <michael.c.conway@gmail.com>2013-02-23 13:53:45 (GMT)
committer mconway <michael.c.conway@gmail.com>2013-02-23 13:53:45 (GMT)
commit8687916e4cf188bca01d4691703098df847e666b (patch)
tree6ca373e126ee38e5ede54fa2b52a59dbdb02a431 /idrop-web/grails-app/views
parentbf159ca0bd0689123bb0fd0e403c1c558e3b788e (diff)
downloadQCG-Data-8687916e4cf188bca01d4691703098df847e666b.zip
QCG-Data-8687916e4cf188bca01d4691703098df847e666b.tar.gz
QCG-Data-8687916e4cf188bca01d4691703098df847e666b.tar.bz2
[#1238] public link dialog shows up in wrong place
Diffstat (limited to 'idrop-web/grails-app/views')
-rwxr-xr-xidrop-web/grails-app/views/browse/publicLinkDialog.gsp5
-rwxr-xr-xidrop-web/grails-app/views/common/_topToolbar.gsp31
2 files changed, 4 insertions, 32 deletions
diff --git a/idrop-web/grails-app/views/browse/publicLinkDialog.gsp b/idrop-web/grails-app/views/browse/publicLinkDialog.gsp
index 50d3efd..07d604d 100755
--- a/idrop-web/grails-app/views/browse/publicLinkDialog.gsp
+++ b/idrop-web/grails-app/views/browse/publicLinkDialog.gsp
@@ -8,7 +8,10 @@
</div>
<fieldset>
- <g:textArea name="url" rows="4" columns="200" value="${accessUrlString}"/>
+
+ <span id="url"><a target="_blank" href="${accessUrlString}">${accessUrlString}</a></span>
+
+
<br />
<div id="publicLinkDialogMenu"
class="pull-right">
diff --git a/idrop-web/grails-app/views/common/_topToolbar.gsp b/idrop-web/grails-app/views/common/_topToolbar.gsp
index 251c8e6..5c23047 100755
--- a/idrop-web/grails-app/views/common/_topToolbar.gsp
+++ b/idrop-web/grails-app/views/common/_topToolbar.gsp
@@ -120,36 +120,5 @@
var path = $("#infoAbsPath").val();
downloadViaToolbar(path);
}
-
- /*
- * Cause a dialog to appear that has a link for a public path for the current path
- */
- function makePublicLinkAtPath() {
- $("#browseDialogArea").html();
- var path = selectedPath;
- if (selectedPath == null) {
- return false;
- }
-
- // show the public link dialog
- var url = "/browse/preparePublicLinkDialog";
- var params = {
- absPath : path
- }
-
- lcSendValueWithParamsAndPlugHtmlInDiv(url, params, "", function(data) {
- fillInPublicLinkDialog(data);
- });
-
- }
-
- /*
- *Given the contents of the 'create public link' dialog,
- */
- function fillInPublicLinkDialog(data) {
- $("#browseDialogArea").html(data);
- $("#browseDialogArea").show("slow");
- //$("#browseDialogArea").dialog({width:500, modal:true});
- }
</script> \ No newline at end of file