Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Aug 1, 2014
2 parents 43b59ca + 73c4d3e commit 6315269
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $(document).ready(function() {

// Typeahead for username.
$('.username-typeahead').typeahead({
'source': '/user/typeahead',
'source': config.base_url + 'user/typeahead',
'minLength': 3
});

Expand Down
4 changes: 3 additions & 1 deletion templates/admin/user/role/index.mustache
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<span class="hide" id="csrf">{{csrf}}</span>

<table cellpadding="0" cellspacing="0" border="0" class="table table-bordered table-striped" id="data-table">
<thead>
<tr>
Expand Down Expand Up @@ -38,7 +40,7 @@
<div class="modal-body">
<form class="form-horizontal" id="modal-crud-form">
<input type="hidden" name="id" value="" id="input-id" />
<input type="hidden" name="csrf" value="" />
<input type="hidden" name="csrf" value="{{csrf}}" />
<div class="control-group">
<label class="control-label" for="input-name">Name</label>

Expand Down

0 comments on commit 6315269

Please sign in to comment.