src/rails_admin/base.js in rails_admin-3.1.4 vs src/rails_admin/base.js in rails_admin-3.2.0.beta
- old
+ new
@@ -15,15 +15,18 @@
import "jquery-ui/ui/unique-id.js";
import "jquery-ui/ui/widget.js";
import "jquery-ui/ui/widgets/menu.js";
import "jquery-ui/ui/widgets/mouse.js";
+import "./abstract-select";
import "./filter-box";
import "./filtering-multiselect";
import "./filtering-select";
import "./nested-form-hooks";
import "./remote-form";
import "./sidescroll";
import "./ui";
import "./widgets";
-Rails.start();
+if (!window._rails_loaded) {
+ Rails.start();
+}