diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-02-16 15:44:29 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-02-16 15:44:57 +0100 |
commit | 6d6be32bd1dd668f07fc525a2e679fed98679ccf (patch) | |
tree | 7500290b80a267a9e8e37f34c7a735851242a3b4 /lib/scripts | |
parent | fed6fccbc7ab83ed9c5a79f484d8a6664cb95bc3 (diff) | |
download | rpg-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.js | 7 |
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) { |