Page MenuHomePhabricator

behavior-files-download-redirect.js

Authored By
hach-que
Dec 10 2013, 10:29 PM
Size
383 B
Referenced Files
None
Subscribers
None

behavior-files-download-redirect.js

/**
* @provides javelin-behavior-files-download-redirect
* @requires javelin-behavior
* javelin-dom
* javelin-workflow
*/
JX.behavior('files-download-redirect', function(config) {
JX.DOM.listen(
JX.$(config.dialogID),
'submit',
null,
function(e) {
window.setTimeout(function() { location.href = config.return; }, 100);
});
});

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/ns/p2/iqpkxgiclpeaqfyg
Default Alt Text
behavior-files-download-redirect.js (383 B)

Event Timeline