mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Set max selection to 800
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
var p4 = p4 || {};
|
var p4 = p4 || {};
|
||||||
|
|
||||||
(function(p4, window){
|
(function(p4, window){
|
||||||
|
|
||||||
p4.Results = {
|
p4.Results = {
|
||||||
'Selection':new Selectable($('#answers'), {
|
'Selection':new Selectable($('#answers'), {
|
||||||
selector : '.IMGT',
|
selector : '.IMGT',
|
||||||
|
limit:800,
|
||||||
selectStart:function(event, selection){
|
selectStart:function(event, selection){
|
||||||
$('#answercontextwrap table:visible').hide();
|
$('#answercontextwrap table:visible').hide();
|
||||||
},
|
},
|
||||||
@@ -16,6 +17,6 @@ var p4 = p4 || {};
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}(p4, window))
|
}(p4, window))
|
||||||
|
Reference in New Issue
Block a user