update core to allow composer to define static route
parent
59c350e63c
commit
d67efa3a5b
@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
/* globals define */
|
||||
|
||||
define('forum/compose', [], function() {
|
||||
var Compose = {};
|
||||
|
||||
Compose.init = function() {
|
||||
var container = $('.composer');
|
||||
|
||||
if (container.length) {
|
||||
$(window).trigger('action:composer.enhance', {
|
||||
container: container
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return Compose;
|
||||
});
|
Loading…
Reference in New Issue