• R/O
  • HTTP
  • SSH
  • HTTPS

pukiwiki: Commit


Commit MetaInfo

Revision2969b61ba5f565a61ae3f9a6ba75a6e4b09c1b38 (tree)
Time2018-06-01 04:58:10
Authorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

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

Incremental Difference

--- 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>' .
Show on old repository browser