|
|
@ -10,9 +10,9 @@ define('topicSelect', ['components'], function (components) {
|
|
|
|
|
|
|
|
|
|
|
|
TopicSelect.init = function (onSelect) {
|
|
|
|
TopicSelect.init = function (onSelect) {
|
|
|
|
topicsContainer = $('[component="category"]');
|
|
|
|
topicsContainer = $('[component="category"]');
|
|
|
|
topicsContainer.on('selectstart', '[component="topic/select"]', function (ev) {
|
|
|
|
topicsContainer.on('selectstart', '[component="topic/select"]', function (ev) {
|
|
|
|
ev.preventDefault();
|
|
|
|
ev.preventDefault();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
topicsContainer.on('click', '[component="topic/select"]', function (ev) {
|
|
|
|
topicsContainer.on('click', '[component="topic/select"]', function (ev) {
|
|
|
|
var select = $(this);
|
|
|
|
var select = $(this);
|
|
|
|