Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2689508
D25077.1734734937.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
839 B
Referenced Files
None
Subscribers
None
D25077.1734734937.diff
View Options
diff --git a/webroot/rsrc/js/core/FileUpload.js b/webroot/rsrc/js/core/FileUpload.js
--- a/webroot/rsrc/js/core/FileUpload.js
+++ b/webroot/rsrc/js/core/FileUpload.js
@@ -115,7 +115,16 @@
switch (this.getStatus()) {
case 'done':
- var link = JX.$N('a', {href: this.getPageURI()}, this.getMonogram());
+
+ // In this case the File upload was successful
+
+ // External links are evil as default.
+ // Believe it or not, but some Phorge users brainstormed
+ // for one hour for this specific target="_blank".
+ // https://we.phorge.it/T15172
+ var target = '_blank';
+
+ var link = JX.$N('a', {href: this.getPageURI(), target: target}, this.getMonogram());
content = [
JX.$N('strong', {}, ['Upload Complete (', link, ')']),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 22:48 (10 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1018742
Default Alt Text
D25077.1734734937.diff (839 B)
Attached To
Mode
D25077: Drag & Drop: set a link as external
Attached
Detach File
Event Timeline
Log In to Comment