Fix more button which still use jQuery UI

This commit is contained in:
Cédric Krier committed 2015-09-13 11:33:14 +02:00
1 parent 1400245d46
commit 29196ca17b
1 file changed
+5 -3
+5 -3
View File
@@ -163,9 +163,11 @@
var footer = jQuery('<div/>', {
'class': 'treefooter'
});
this.more = jQuery('<button/>').button({
'label': Sao.i18n.gettext('More')
}).click(function() {
this.more = jQuery('<button/>', {
'class': 'btn btn-default',
'type': 'button'
}).append(Sao.i18n.gettext('More')
).click(function() {
this.display_size += Sao.config.display_size;
this.display();
}.bind(this));