So I’m trying to mod the new hearthling generation code, and that involves tweaking the daily report UI. I’m trying to add my own type of “Immigration Report Bulletin,” so I have a custom .js, .less, and .html file. In my manifest I have them added:
"ui": {
"html": [
"file(ui/game/bulletin/bulletin_dialog/immigration_report_dialog/immigration_report_dialog.html)"
],
"js": [
"file(ui/game/bulletin/bulletin_dialog/immigration_report_dialog/immigration_report_dialog.js)"
],
"less": [
"file(ui/game/bulletin/bulletin_dialog/immigration_report_dialog/immigration_report_dialog.less)"
]
}
This is the error I’m getting after clicking the “Daily Report” Notification:
UI ERROR Uncaught TypeError: createChildViews first argument must exist TypeError: createChildViews first argument must exist at CoreView.extend.createChildView (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.js:43060:17) at App.ContainerView.Ember.ContainerView.extend.addView (http://radiant/stonehearth/ui/root/js/stonehearth/container_view.js:64:28) at SimpleClass.extend.showDialogView (http://radiant/stonehearth/ui/game/bulletin/bulletin_board.js:218:56) at HTMLDivElement.<anonymous> (http://radiant/stonehearth/ui/game/bulletin/bulletin_notification/base_notification.js:225:28) at HTMLDivElement.jQuery.event.dispatch (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.js:5095:9) at HTMLDivElement.elemData.handle (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.js:4766:46)
Any idea where this is coming from? I can’t firgure it out through google.
I can provide any additional info anyone needs. (Paging the wonderful @yshan & @sdee). Thanks in advance!!