fix listener to be called when refreshing Basket Workzone

This commit is contained in:
Benoît Burnichon
2016-04-22 19:18:29 +02:00
parent 06f12cabce
commit d6b386662d

View File

@@ -37,6 +37,12 @@ var p4 = p4 || {};
}
activeBaskets();
$('a.story_unfix').on('click', function () {
unfix($(this).attr('href'));
return false;
});
$('.basketTips').tooltip({
delay: 200
});
@@ -531,12 +537,6 @@ var p4 = p4 || {};
$(document).ready(function () {
activeBaskets();
$('a.story_unfix').on('click', function () {
unfix($(this).attr('href'));
return false;
});
p4.WorkZone = {
'Selection': new Selectable($('#baskets'), {selector: '.CHIM'}),
'refresh': refreshBaskets,