docbrown/app/assets/javascripts/initializers
Kobe Raypole bb16b36ca7 Add policy for article manage action (#2643)
* Add policy for article manage action

This commit adds a policy for the articles#manage method. This will
prevent the error that is stopping article owners from managing their
articles.

* Hide manage button if article isnt published

* account for no current_user

* Move button logic to javascript
2019-05-02 19:31:26 -04:00
..
initEditorResize.js Fix errant scroll behavior on /new when using keyboard scrolling (#1203) 2018-11-28 14:57:21 -05:00
initializeAdditionalContentBoxes.js Check for user exists in additional content box fetch (#1756) 2019-02-06 21:03:20 -04:00
initializeAllChatButtons.js Implement open inbox for dev-connect (#1563) 2019-03-15 14:39:57 -04:00
initializeAllFollowButts.js Implement open inbox for dev-connect (#1563) 2019-03-15 14:39:57 -04:00
initializeArticleReactions.js Add details to toggles and modify some styling (#1484) 2019-01-08 12:53:48 -05:00
initializeBaseTracking.js.erb Remove extra param and add message for prefill (#2487) 2019-04-18 15:34:50 -04:00
initializeBaseUserData.js Add policy for article manage action (#2643) 2019-05-02 19:31:26 -04:00
initializeBodyData.js Remove unused timeString statements (#2568) [ci skip] 2019-04-26 12:42:49 -04:00
initializeCommentDate.js Display comment published timestamp according to user's locale (#1970) 2019-03-08 15:19:37 -05:00
initializeCommentDropdown.js Initial commit 2018-02-28 16:11:08 -05:00
initializeCommentPreview.js Implement comment preview feature (#223) 2018-04-24 14:30:52 -04:00
initializeCommentsPage.js.erb Remove unused timeString statements (#2568) [ci skip] 2019-04-26 12:42:49 -04:00
initializeDashboardSort.js be able to sort dashboard articles (#1837) (#2337) 2019-04-15 08:30:09 -04:00
initializeDrawerSliders.js Add badges and org cta (#324) 2018-05-17 18:22:37 -04:00
initializeFetchFollowedArticles.js.erb Remove includes user from stories query to reduce num queries and memory (#2662) 2019-05-02 15:58:58 -04:00
initializeFooterMod.js Modify and finalize live now for events (#346) 2018-05-23 14:46:46 -04:00
initializeLiveArticle.js.erb Modify and finalize live now for events (#346) 2018-05-23 14:46:46 -04:00
initializeLocalStorageRender.js Initial commit 2018-02-28 16:11:08 -05:00
initializePodcastPlayback.js Replace sprocket-es6 with new uglifier feature (#928) 2018-10-19 13:12:07 -04:00
initializePWAFunctionality.js Add nav buttons to pwa desktop (#2484) 2019-04-18 11:35:00 -04:00
initializeReadingListIcons.js Classified Listings (#2545) 2019-04-24 16:17:01 -04:00
initializeReadingListPage.js.erb Fix reading list comments reaction (#2493) 2019-04-25 14:33:19 -04:00
initializeSettings.js Initial commit 2018-02-28 16:11:08 -05:00
initializeSplitTestTracking.js Update "Connect Twitter acct" in settings with new callback url (#439) 2018-06-15 12:52:14 -04:00
initializeSponsorshipVisibility.js Add follow tracking for orgs with working follow (#300) 2018-05-10 09:54:46 -04:00
initializeStylesheetAppend.js.erb Initial commit 2018-02-28 16:11:08 -05:00
initializeSwipeGestures.js Initial commit 2018-02-28 16:11:08 -05:00
initializeTimeFixer.js Fix timezone issues and small adjustment to connect features (#548) 2018-07-05 16:39:04 -04:00
initializeTouchDevice.js Remove outline: 0 and add keyboard accessibility for nav menu (#1132) 2018-11-16 15:17:20 -05:00
initLeaveEditorWarning.js Initial commit 2018-02-28 16:11:08 -05:00
initNotifications.js Remove unused timeString statements (#2568) [ci skip] 2019-04-26 12:42:49 -04:00
initScrolling.js.erb Fix video image on scroll (#2551) 2019-04-25 10:17:44 -04:00