Commit Graph

9 Commits

Author SHA1 Message Date
José Iván b1b51b774b Cleaned up global namespace JS
Moved most of the functions that contained "window.doSomething" that were located at:
- app/assets/javascripts/application.js
To the following file:
- app/assets/javascripts/lib/utils/common_utils.js

The functions listed here:
- window.ajaxGet
- window.split
- window.extractLast
- window.rstrip
- window.disableButtonIfEmptyField
- window.disableButtonIfAnyEmptyField
- window.sanitize
- window.unbindEvents
- window.shiftWindow

Now will be accessible from the "gl.utils" namespace
2016-11-03 23:00:21 -05:00
winniehell 02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Dmitriy Zaporozhets bedbb7b744 Refactor js that disable form submit if no members selected
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-24 13:14:00 +03:00
Phil Hughes 96ee975805 Moved how we remove event listeners 2016-10-13 10:25:38 +01:00
Phil Hughes b2e5240af3 Changed jQuery to be in single line
Removed un-required CSS
2016-10-06 15:42:48 +01:00
Phil Hughes d8fee09e33 Fixed jQuery chaining 2016-09-13 08:44:59 +01:00
Phil Hughes 68c7b52364 Fixed fields not being sent 2016-09-13 08:44:59 +01:00
Phil Hughes fe71edc333 JS update 2016-09-13 08:44:59 +01:00
Phil Hughes ccf76831da Updated groups member UI to match 2016-09-13 08:44:59 +01:00