some tweaking and minor fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-12-23 01:16:59 +03:00
parent 45eadeff76
commit 64d8273529

View File

@ -903,6 +903,7 @@ var CollectionActions = actions.Actions({
//this.collections[collection].data.join(align, data || this.data.clone())
var res = (data || this.data)
.clone()
.clear('unloaded')
.join(align, target)
var rorder = res.order.slice().reverse()
@ -1390,8 +1391,8 @@ module.Collection = core.ImageGridFeatures.Feature({
data = data || this.data
(!data || data.ribbon_order.length > 1)
&& that.markChanged(
;(!data || data.ribbon_order.length > 1)
&& this.markChanged(
'collection: '
+JSON.stringify(collection.gid || title),
['data'])