svn: /web/doc-editor/trunk/js/ui/task/ GetFileTask.js

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Wed, 23 Dec 2009 09:32:51 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=292515

Log:
Open Permlink into a new tab (or new window, depending your browser configuration)

Changed paths:
    U   web/doc-editor/trunk/js/ui/task/GetFileTask.js

Modified: web/doc-editor/trunk/js/ui/task/GetFileTask.js
===================================================================
--- web/doc-editor/trunk/js/ui/task/GetFileTask.js	2009-12-23 04:16:13 UTC (rev 292514)
+++ web/doc-editor/trunk/js/ui/task/GetFileTask.js	2009-12-23 09:32:51 UTC (rev 292515)
@@ -30,7 +30,7 @@

             var path = 'http://' + window.location.host + ':' + window.location.port + window.location.pathname
                        + '?perm=/' + this.fpath.split('/')[0] + '/' + o.xmlid.split('|')[0] + '.php';
-            var perm = '&nbsp;<a href="' + path + '">permlink</a>';
+            var perm = '&nbsp;<a href="' + path + '" target="_blank">permlink</a>';

             Ext.getCmp(id_prefix + '-FILE-' + this.fid).setCode(o.content);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.