Page MenuHomePhorge

D25074.1738250589.diff
No OneTemporary

D25074.1738250589.diff

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

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)

Event Timeline