bootstrap-table-i18n-enhance.min.js 608 B

1234567
  1. /*
  2. * bootstrap-table - v1.11.0 - 2016-07-02
  3. * https://github.com/wenzhixin/bootstrap-table
  4. * Copyright (c) 2016 zhixin wen
  5. * Licensed MIT License
  6. */
  7. !function(a){"use strict";var b=a.fn.bootstrapTable.Constructor;b.prototype.changeTitle=function(b){a.each(this.options.columns,function(c,d){a.each(d,function(a,c){c.field&&(c.title=b[c.field])})}),this.initHeader(),this.initBody(),this.initToolbar()},b.prototype.changeLocale=function(a){this.options.locale=a,this.initLocale(),this.initPagination()},a.fn.bootstrapTable.methods.push("changeTitle"),a.fn.bootstrapTable.methods.push("changeLocale")}(jQuery);