dpinney / omf

The Open Modeling Framework for smart grid cost-benefit analysis.
https://omf.coop
GNU General Public License v2.0
112 stars 60 forks source link

GridEdit right side toolbar functions #243

Closed cshjin closed 10 years ago

cshjin commented 10 years ago
  1. Duplicate function cannot save under current user. image
  2. Delete function does't work. Either doesn't delete feeder, or ownership error(delete function should allow admin delete public feeder, and doesn't allow test users to do so).

NOTE: test for different user types.

dpinney commented 10 years ago

Ouch this is a bad bug that I missed. Could you try to fix it and let me know if you need help on this?

cshjin commented 10 years ago

Oops, it's my mistake. I moved all the toolbar functions into gridEdit.js, which will break the jinja2 template. Now get them back to gridEdit.html. check 45b385f83d4b3087eb40ac2751a33c365bce99eb