Fix for when you only change the locale and do not change the header, the placeholder text in the search box would not refresh. https://github.com/wenzhixin/bootstrap-table/issues/3587
@@ -16,7 +16,6 @@
}
});
-
this.initHeader();
this.initBody();
this.initToolbar();
@@ -26,9 +25,11 @@
this.options.locale = localeId;
this.initLocale();
this.initPagination();
+ this.initBody();
+ this.initToolbar();
};
$.fn.bootstrapTable.methods.push('changeTitle');
$.fn.bootstrapTable.methods.push('changeLocale');
-}(jQuery);
+}(jQuery);