Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
LFDM committed Jan 3, 2015
1 parent 39c541f commit 233e852
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/js/arethusa.core/directives/uservoice_embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ angular.module('arethusa.core').directive('uservoiceEmbed', [
scope.hint = translation();
// it would be nice to do this as a result of the confirm modal action
// but it's more work to include a screenshot of the error in that case
// we could do this as custom key/value pair but we are only allowed one
// we could do this as custom key/value pair but we are only allowed one
// and might hit field length limitations.
UserVoice.push(['embed', '#'+embedded_elem_id, {
mode: 'contact',
UserVoice.push(['embed', '#'+embedded_elem_id, {
mode: 'contact',
contact_title: '',
strings: { contact_message_placeholder: scope.hint }
}]);
});
}
};
};
}
]);
2 changes: 2 additions & 0 deletions app/templates/arethusa.core/error_dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
</pre>
<div uservoice-embed target="error-uv-embedded" class="error-modal">
<div class="error-uv-embedded"></div>
</div>
<div class="center">
<span
ng-click="$dismiss()"
class="button success alert"
Expand Down

0 comments on commit 233e852

Please sign in to comment.