Let the report button open multiple popups. Close #83

This commit is contained in:
Nicolas Stepien 2011-12-27 04:37:58 +01:00
parent 335d0e7f92
commit eb22d553c3
3 changed files with 3 additions and 2 deletions

View File

@ -2701,7 +2701,7 @@
report: function() {
var id, set, url;
url = "http://sys.4chan.org/" + g.BOARD + "/imgboard.php?mode=report&no=" + ($.x('preceding-sibling::input', this).name);
id = "" + NAMESPACE + "popup";
id = new Date().getTime();
set = "toolbar=0,scrollbars=0,location=0,status=1,menubar=0,resizable=1,width=685,height=200";
return window.open(url, id, set);
}

View File

@ -1,5 +1,6 @@
master
- mayhem
the report button can open multiple popups
add omploader to the list of optional flavors (http://ompldr.org/upload?url1=)
2.23.7

View File

@ -2102,7 +2102,7 @@ reportButton =
$.on a, 'click', reportButton.report
report: ->
url = "http://sys.4chan.org/#{g.BOARD}/imgboard.php?mode=report&no=#{$.x('preceding-sibling::input', @).name}"
id = "#{NAMESPACE}popup"
id = new Date().getTime()
set = "toolbar=0,scrollbars=0,location=0,status=1,menubar=0,resizable=1,width=685,height=200"
window.open url, id, set