CouchCMS
Login
Register
Username
Password
I forgot my password
Login
Register
CouchCMS Forum
General Discussion
Forum for discussing general topics related to Couch.
2 posts
Page
1
of
1
Post a reply
Previous
Next
Search
How to make save button redirect to previous page?
nsy
Registered User
Posts:
211
Joined:
Mon Sep 22, 2014 8:02 am
by
nsy
» Tue Mar 17, 2015 10:59 am
I like to add a function to save button in admin panel. Can I make the button redirect to previous page?
Re: How to make save button redirect to previous page?
Musman
Registered User
Posts:
111
Joined:
Sat Dec 07, 2013 5:50 pm
by
Musman
» Tue Mar 17, 2015 2:04 pm
Your function should know about this 'previous page'. Just 'window.history.back()' may work sometimes, but other times may work incorrectly, so it's better to store the link to the page you need via LocalStorage.
Post a reply
Previous
Next
Search
2 posts
Page
1
of
1
Display posts from previous:
All posts
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by
Author
Post time
Subject
Ascending
Descending
Return to General Discussion
Jump to:
Select a forum
------------------
CouchCMS Forum
News and Announcements
General Discussion
Bug Reporting and Troubleshooting
Tips and Tricks
Showcase your site
Feature Requests
Product Updates
The team
Delete all board cookies
All times are UTC + 5:30 hours