summaryrefslogtreecommitdiff
path: root/lib/scripts
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-02-16 15:44:29 +0100
committerAndreas Gohr <andi@splitbrain.org>2013-02-16 15:44:57 +0100
commit6d6be32bd1dd668f07fc525a2e679fed98679ccf (patch)
tree7500290b80a267a9e8e37f34c7a735851242a3b4 /lib/scripts
parentfed6fccbc7ab83ed9c5a79f484d8a6664cb95bc3 (diff)
downloadrpg-6d6be32bd1dd668f07fc525a2e679fed98679ccf.tar.gz
rpg-6d6be32bd1dd668f07fc525a2e679fed98679ccf.tar.bz2
initialize link wizard with current namespace FS#2683
Diffstat (limited to 'lib/scripts')
-rw-r--r--lib/scripts/linkwiz.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/scripts/linkwiz.js b/lib/scripts/linkwiz.js
index bb04828b4..c55650d68 100644
--- a/lib/scripts/linkwiz.js
+++ b/lib/scripts/linkwiz.js
@@ -50,6 +50,9 @@ var dw_linkwiz = {
jQuery(dw_linkwiz.result).css('position', 'relative');
dw_linkwiz.$entry = jQuery('#link__wiz_entry');
+ if(JSINFO.namespace){
+ dw_linkwiz.$entry.val(JSINFO.namespace+':');
+ }
// attach event handlers
jQuery('#link__wiz .ui-dialog-titlebar-close').click(dw_linkwiz.hide);
@@ -102,7 +105,7 @@ var dw_linkwiz = {
/**
* Get one of the results by index
*
- * @param int result div to return
+ * @param num int result div to return
* @returns DOMObject or null
*/
getResult: function(num){
@@ -113,7 +116,7 @@ var dw_linkwiz = {
/**
* Get one of the results by index
*
- * @param int result div to return
+ * @param num int result div to return
* @returns jQuery object
*/
$getResult: function(num) {