mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Initialize datepickers when there are no campaigns.
This commit is contained in:
@@ -10,6 +10,10 @@ r.sponsored = {
|
||||
this.inventory = inventory_by_sr
|
||||
if (isEmpty) {
|
||||
this.fill_campaign_editor()
|
||||
init_startdate()
|
||||
init_enddate()
|
||||
$("#campaign").find("button[name=create]").show().end()
|
||||
.find("button[name=save]").hide().end()
|
||||
}
|
||||
this.userIsSponsor = userIsSponsor
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user