mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-28 20:45:00 +03:00
fix #645
This commit is contained in:
parent
e42df9199f
commit
70e55c451f
|
@ -138,7 +138,13 @@
|
|||
_prepareParams: function() {
|
||||
// Корректируем сортировку выбранных блогов
|
||||
if (this.elements.blogs.length) {
|
||||
this.element.lsContent( 'option', 'params.topic[blogs_id_raw]', this.elements.blogs.getSelectionOrder() );
|
||||
var orders = this.elements.blogs.getSelectionOrder();
|
||||
if (!orders || !orders.length) {
|
||||
orders = this.elements.blogs.val();
|
||||
}
|
||||
if (orders && orders.length) {
|
||||
this.element.lsContent('option', 'params.topic[blogs_id_raw]', orders);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue