1
0
Fork 0
forked from 0x2620/oxjs

in edits, handle 'add to clipboard'; resize clip list on window resize

This commit is contained in:
rlx 2013-07-15 10:04:56 +00:00
commit c6c3452853
2 changed files with 8 additions and 4 deletions

View file

@ -28,6 +28,9 @@ Ox.ClipPanel = function(options, self) {
updateStatus();
},
duration: updateStatus,
height: function() {
self.$list.size();
},
sort: function() {
updateSortElement();
self.$list.options({
@ -255,8 +258,8 @@ Ox.ClipPanel = function(options, self) {
copy: function(data) {
that.triggerEvent('copy', data);
},
cut: function(data) {
that.triggerEvent('cut', data);
copyadd: function(data) {
that.triggerEvent('copyadd', data);
},
'delete': function(data) {
that.triggerEvent('remove', data);