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

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

SVN commit 868618 by orlovich:

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

 M  +1 -1      kjs_window.cpp  


--- trunk/KDE/kdelibs/khtml/ecma/kjs_window.cpp #868617:868618
@@ -2530,7 +2530,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