Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2944146
D25074.1738250589.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
803 B
Referenced Files
None
Subscribers
None
D25074.1738250589.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
@@ -38,6 +38,14 @@
return this;
},
+ getPageID: function() {
+ return 'F' + this.getID();
+ },
+
+ getPageURI: function() {
+ return '/' + this.getPageID();
+ },
+
setChunks: function(chunks) {
var chunk;
for (var ii = 0; ii < chunks.length; ii++) {
@@ -101,7 +109,7 @@
switch (this.getStatus()) {
case 'done':
- var link = JX.$N('a', {href: this.getURI()}, 'F' + this.getID());
+ var link = JX.$N('a', {href: this.getPageURI()}, this.getPageID());
content = [
JX.$N('strong', {}, ['Upload Complete (', link, ')']),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 30, 15:23 (1 d, 23 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1153601
Default Alt Text
D25074.1738250589.diff (803 B)
Attached To
Mode
D25074: FileUpload: show File page instead of binary file
Attached
Detach File
Event Timeline
Log In to Comment