The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Info-Messages are not shown on pages.php in case of delete - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Info-Messages are not shown on pages.php in case of delete (/showthread.php?tid=425) |
Info-Messages are not shown on pages.php in case of delete - dniesel - 2010-02-25 Hi, have a strange problem with the error-messages on pages.php If I try to delete the index-page, it shouldn't be deleted but an error-message should be displayed that the index-page can't be deleted. I am very sure I saw it on its first appearance, but now it won't display any more. The same is, if a page is deleted - after asking whether I'm sure, the page is being deleted, but no message appears at all. The messages are displayed, if I disable javascript, so I guess it has something to do with that. Does anybody have a clue what could be wrong there? To be sure that it don't affect on changes I made on the code, I installed a fresh 2.0 version and tried it also on opensourcecms-demo, all with the same effect . Thanks for any advice - Daniel Info-Messages are not shown on pages.php in case of delete - Zegnåt - 2010-02-25 Interesting, this will need looking into. I thought to bump into this problem when I was developing a plugin as well. Thanks for bringing this up! Info-Messages are not shown on pages.php in case of delete - ccagle8 - 2010-03-03 This is because i tried to remove the page-refresh after page deletion. The page is still moved into "Backups", so an undo is still possible... I just couldn't find a way to display the confirmation message via javascript. When you turn off JS, PHP takes over and the error message is displayed (and the page refreshes) Info-Messages are not shown on pages.php in case of delete - dniesel - 2010-03-03 Is this behaviour different to them of upload.php? I compared both php-files, but I didn't see the difference. At upload.php the messages are shown as expected... Info-Messages are not shown on pages.php in case of delete - dniesel - 2010-03-10 puhhh, today I had some time to step into the jquery API and this javascript to get a solution for this. Somehow I figured out to get the error or update message from the response and place it onto the current page: Code: $(".delconfirm").live("click", function() { Info-Messages are not shown on pages.php in case of delete - ccagle8 - 2010-03-11 That worked perfectly... thank you very much!! |