• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

blogger


Commit MetaInfo

Révision2969b61ba5f565a61ae3f9a6ba75a6e4b09c1b38 (tree)
l'heure2018-06-01 04:58:10
Auteurumorigu <umorigu@gmai...>
Commiterumorigu

Message de Log

BugTrack/2474 Fix web browser no response on heavy DOM operations

* Some web browsers freeze on 100,000 DOM operations
* Solution: list and filelist plugin - Stop JavaScript passage logic

  • Generally list plugin result will not be cached
  • We can calc and output passages directly (BugTrack/2447)

Change Summary

Modification

--- a/lib/func.php
+++ b/lib/func.php
@@ -538,7 +538,7 @@ function page_list($pages, $cmd = 'read', $withfilename = FALSE)
538538 $r_page = pagename_urlencode($page);
539539 $s_page = htmlsc($page, ENT_QUOTES);
540540 $str = ' <li><a href="' . $href . $r_page . '">' .
541- $s_page . '</a>' . get_passage_html_span($page);
541+ $s_page . '</a> ' . get_pg_passage($page);
542542 if ($withfilename) {
543543 $s_file = htmlsc($file);
544544 $str .= "\n" . ' <ul><li>' . $s_file . '</li></ul>' .