aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript/packs/stop_areas
diff options
context:
space:
mode:
authorZog2018-01-26 16:17:22 +0100
committerZog2018-01-26 16:17:22 +0100
commit22c38fb750843f0c74996175a6bd17a1f20a943c (patch)
treeebf3b2213be01c64b418e0e5b47d1afc860cc962 /app/javascript/packs/stop_areas
parentc1da45b2f561ab7ec8d2785bb53f25218e471ce2 (diff)
downloadchouette-core-22c38fb750843f0c74996175a6bd17a1f20a943c.tar.bz2
Refs #5750 @1h; Add a "kind" attribute to StopAreas
This determines if the StopArea is commercial or not The useless fields are hidden in the form for the non-commercials ones
Diffstat (limited to 'app/javascript/packs/stop_areas')
-rw-r--r--app/javascript/packs/stop_areas/new.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/packs/stop_areas/new.js b/app/javascript/packs/stop_areas/new.js
new file mode 100644
index 000000000..ffe702cdb
--- /dev/null
+++ b/app/javascript/packs/stop_areas/new.js
@@ -0,0 +1,3 @@
+import MasterSlave from "../../helpers/master_slave"
+
+new MasterSlave("form")