Browse Source

Fix #64: add support for change remote url.

zhixin 11 years ago
parent
commit
bc7501a371
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/bootstrap-table.js

+ 3 - 0
src/bootstrap-table.js

@@ -1253,6 +1253,9 @@
     };
 
     BootstrapTable.prototype.refresh = function (params) {
+        if (params && params.url) {
+            this.options.url = params.url;
+        }
         this.initServer(params && params.silent);
     };