[Bug 76318] executing a php script does not update the PHP page (Using a Webserver)
Milo Hoffman
Milo at NG-Projekt.ORG
Thu Mar 4 04:00:11 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=76318
Milo NG-Projekt ORG changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From Milo NG-Projekt ORG 2004-03-04 03:59 -------
CVS commit by cunz:
Fixed bug #76318
- Force KHTMLPart to reload the page, even if it is the same as before
CCMAIL: 76318-done bugs kde org
M +7 -0 phpsupportpart.cpp 1.56
--- kdevelop/languages/php/phpsupportpart.cpp #1.55:1.56
@ -33,4 +33,5 @
#include <kregexp.h>
#include <kstatusbar.h>
+#include <kparts/browserextension.h>
#include <kdevcore.h>
@ -260,4 +261,10 @ void PHPSupportPart::executeOnWebserver(
}
m_phpExeOutput="";
+ KParts::BrowserExtension* be = m_htmlView->browserExtension();
+ if(be){
+ KParts::URLArgs urlArgs( be->urlArgs() );
+ urlArgs.reload = true;
+ be->setURLArgs( urlArgs );
+ }
m_htmlView->openURL(KURL(weburl + file));
m_htmlView->show();
More information about the KDevelop-devel
mailing list