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 16:33:04 +0000

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

Log:
Fix a bug on permlink introduice by me a few commit later

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 16:29:42 UTC (rev 292546)
+++ web/doc-editor/trunk/js/ui/task/GetFileTask.js	2009-12-23 16:33:04 UTC (rev 292547)
@@ -34,6 +34,8 @@

             // We set the permLink (exclude for file patch)
             if( this.prefix === 'PP' && this.ftype === 'ORIGIN' ) {
+                p.permlink = '';
+            } else {
                 p.permlink = (o.xmlid != 'NULL')? perm : '';
                 p.setTitle(p.originTitle + p.permlink);
             }
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.