mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Reclass traffic-table to traffic_viewer-table.
The table was picking up the odd/even highlighting.
This commit is contained in:
@@ -626,8 +626,8 @@ class PromoteController(ListingController):
|
||||
form.set_inputs(name="")
|
||||
form.set_html(".status:first", _("added"))
|
||||
if promote.add_traffic_viewer(thing, user):
|
||||
user_row = TrafficViewerList(thing).user_row('traffic', user)
|
||||
jquery(".traffic-table").show(
|
||||
user_row = TrafficViewerList(thing).user_row('traffic_viewer', user)
|
||||
jquery(".traffic_viewer-table").show(
|
||||
).find("table").insert_table_rows(user_row)
|
||||
|
||||
# send the user a message
|
||||
|
||||
@@ -586,7 +586,7 @@ class TrafficViewerList(UserList):
|
||||
|
||||
destination = "traffic_viewer"
|
||||
remove_action = "rm_traffic_viewer"
|
||||
type = "traffic"
|
||||
type = "traffic_viewer"
|
||||
|
||||
def __init__(self, link, editable=True):
|
||||
self.link = link
|
||||
|
||||
Reference in New Issue
Block a user