Changeset 149025 in webkit


Ignore:
Timestamp:
Apr 24, 2013, 3:50:40 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Add number to list from remote web inspector.
https://bugs.webkit.org/show_bug.cgi?id=115014

Patch by Seokju Kwon <Seokju Kwon> on 2013-04-24
Reviewed by Benjamin Poulain.

  • UIProcess/InspectorServer/front-end/inspectorPageIndex.html:
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r149022 r149025  
     12013-04-24  Seokju Kwon  <seokju.kwon@gmail.com>
     2
     3        Web Inspector: Add number to list from remote web inspector.
     4        https://bugs.webkit.org/show_bug.cgi?id=115014
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        * UIProcess/InspectorServer/front-end/inspectorPageIndex.html:
     9
    1102013-04-24  Vlad Vasilyeu  <vasvlad@gmail.com>
    211
  • trunk/Source/WebKit2/UIProcess/InspectorServer/front-end/inspectorPageIndex.html

    r134600 r149025  
    1010            if (pages.length)
    1111                document.getElementById("noPageNotice").style.display = "none";
     12
     13            var pageList = document.createElement("ol");
    1214            for (var i in pages) {
    1315                var link = document.createElement("a");
     
    1618                link.appendChild(document.createTextNode(title + (url ? (" [" + url + "]") : "" )));
    1719                link.setAttribute("href", pages[i].inspectorUrl);
    18                 document.body.appendChild(link);
    19                 document.body.appendChild(document.createElement("br"));
     20                var pageListItem = document.createElement("li");
     21                pageListItem.appendChild(link);
     22                pageList.appendChild(pageListItem);
    2023            }
     24            document.body.appendChild(pageList);
    2125        }
    2226    };
Note: See TracChangeset for help on using the changeset viewer.