Skip to content

Commit d144c8a

Browse files
authored
Merge pull request #33 from eapearson/master
fix "New Narrative" big giant button; also ensure that button links w…
2 parents 40b290b + 4b85913 commit d144c8a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/plugin/iframe_root/modules/lib/widget/buttonBar.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ define(['jquery'], function ($) {
208208
}
209209
if (item.external) {
210210
link.attr('target', '_blank');
211+
} else {
212+
link.attr('target', '_parent');
211213
}
212214

213215
var icon = $('<div class="navbar-icon" style=""></div>');

src/plugin/iframe_root/resources/NarrativesWidget/templates/slider.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<div class="-card">
55
<div class="-box">
6-
<a role="button" class="btn btn-primary btn-kbase" href="#narrativemanager/new" style="height: 100%; width: 100%; padding-top: 30px;" target="_blank">
6+
<a role="button" class="btn btn-primary btn-kbase" href="/#narrativemanager/new" target="_blank" style="height: 100%; width: 100%; padding-top: 30px;" target="_blank">
77
<br><span class="fa fa-plus-circle" style="font-size: 300%; "></span><br><br> New Narrative
88
</a>
99
</div>

0 commit comments

Comments
 (0)