[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.1/kdelibs/khtml/ecma
From:       Maks Orlovich <maksim () kde ! org>
Date:       2008-10-06 19:13:47
Message-ID: 1223320427.300141.18701.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 868614 by orlovich:

Make sure that the hash is %-decoded; fixes the W3C slide tool (reported on kfm-devel)



 M  +1 -1      kjs_window.cpp  


--- branches/KDE/4.1/kdelibs/khtml/ecma/kjs_window.cpp #868613:868614
@@ -2529,7 +2529,7 @@
   KUrl url = m_frame->m_part->url();
   switch(token) {
     case Hash:
-      return jsString( UString(url.ref().isNull() ? QString("") : '#' + url.ref()) );
+      return jsString( UString(url.htmlRef().isNull() ? QString("") : '#' + url.htmlRef()) );
     case Host: {
       UString str = url.host();
       if (url.port() > 0)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic