Mikel Posted April 4, 2013 Share Posted April 4, 2013 Hello everybody, today a customer, who is using ProcessWire as a backend, encountered a strange problem: When clicking the top save button, the page reloads, but without saving the changes. The bottom save button works normally. I found the issue to be reproducible. Link to comment Share on other sites More sharing options...
Soma Posted April 4, 2013 Share Posted April 4, 2013 http://processwire.com/talk/topic/573-top-save-page-button-dont-work/ Link to comment Share on other sites More sharing options...
Mikel Posted April 4, 2013 Author Share Posted April 4, 2013 Thanks for the Link. As I understand it, this issue is known since 2 years and there is no solution, is there? Link to comment Share on other sites More sharing options...
Soma Posted April 4, 2013 Share Posted April 4, 2013 Thanks for the Link. As I understand it, this issue is known since 2 years and there is no solution, is there? It has been fixed. As by this thread you can see we decided to turn off the top save buttons in all IE. Since it's only a cloned button using jquery there is a $.browser.msie check in the main.js that prevent the button from cloning. I just tested in IE and the top save button doesn't show, which is correct. Maybe you can provide more infos to find out why it's still showing in your case? I guess you use an admin theme that is older or a PW version that is older. Link to comment Share on other sites More sharing options...
Mikel Posted April 4, 2013 Author Share Posted April 4, 2013 It has been fixed. As by this thread you can see we decided to turn off the top save buttons in all IE. Since it's only a cloned button using jquery there is a $.browser.msie check in the main.js that prevent the button from cloning. I just tested in IE and the top save button doesn't show, which is correct. Maybe you can provide more infos to find out why it's still showing in your case? I guess you use an admin theme that is older or a PW version that is older. Hi, Soma, I just figured out what caused the problem: Our client uses a custom admin-template based on the Ergo-Admin-Theme. This theme lacks the modified part in the main.js. (I added the browser check) I would consider this as a workaround, not a solution, but ok, I dont´t like debugging IE problems neither Cheers, Mike Link to comment Share on other sites More sharing options...
Soma Posted April 7, 2013 Share Posted April 7, 2013 @mike thanks for the heads up. Since you found the root of the cause, could you let the admin theme developer know that it's not working? http://processwire.com/talk/topic/1856-release-ergo-admin-template/ Link to comment Share on other sites More sharing options...
dragan Posted May 27, 2013 Share Posted May 27, 2013 Just a little remark: I encountered the same with Firefox and Chrome / Win (most recent stable releases). I don't think it's an IE-specific issue. I don't like hacking the core code, but as a quick fix, would it be possible to remove the top "save" button altogether? Link to comment Share on other sites More sharing options...
dragan Posted June 9, 2013 Share Posted June 9, 2013 I ended up adding this bit of CSS at the bottom of site/templates-admin/styles/ui.css: #submit_save_copy { visibility: hidden; display: none; } Bottom save button stays, the top one disappears. Or you could add another custom .css and include it in site/templates-admin/default.php: $config->styles->append($config->urls->adminTemplates . "styles/custom-ui.css"); Perhaps another workaround would be to make the top button just an #anchor link to jump to the bottom. Link to comment Share on other sites More sharing options...
Soma Posted June 9, 2013 Share Posted June 9, 2013 Dragan isnt the problem issued by a custom theme? It works in every browser for me. Link to comment Share on other sites More sharing options...
dragan Posted June 9, 2013 Share Posted June 9, 2013 I never installed a custom admin theme. I have 2.3.0 installed. site/templates-admin/default.php shows this: /** * ProcessWire 2.x Admin Markup Template * * Copyright 2010 by Ryan Cramer * Teflon Theme 2011 by Soma Philipp Urlich * * @modified 2012-08-29 * @version 1.0.3 */ I just checked in ModulesManager: filter by Admin Themes: status: - (none installed) Link to comment Share on other sites More sharing options...
Tigro Posted November 26, 2013 Share Posted November 26, 2013 My Save button does not work either. But only in the Admin Template "Ergo". Maybe that would be worth an adjustment. Link to comment Share on other sites More sharing options...
Wanze Posted November 26, 2013 Share Posted November 26, 2013 Just had the same problem with the teflon theme (v2) from Soma. The strange thing is that the button does work when editing pages, but not when editing users.. Have no time to investigate right now. Edit: Ah and it's newest Chrome, not IE Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now