Sha256: ad49d238b5cee9be199c42723958797603b465c63372b4d4fef5e5778992ea54
Contents?: true
Size: 448 Bytes
Versions: 74
Compression:
Stored size: 448 Bytes
Contents
pageflow.PageConfigurationFileSelectionHandler = function(options) { var page = pageflow.pages.get(options.id); this.call = function(file) { page.configuration.setReference(options.attributeName, file); }; this.getReferer = function() { return '/pages/' + page.id + '/' + (options.returnToTab || 'files'); }; }; pageflow.editor.registerFileSelectionHandler('pageConfiguration', pageflow.PageConfigurationFileSelectionHandler);
Version data entries
74 entries across 74 versions & 1 rubygems