Fix error with adding rank
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
@section('scripts')
|
@section('scripts')
|
||||||
<script>
|
<script>
|
||||||
function setEditable() {
|
function setEditable() {
|
||||||
|
|
||||||
|
@if(isset($rank))
|
||||||
$('#subfleets-table a').editable({
|
$('#subfleets-table a').editable({
|
||||||
type: 'text',
|
type: 'text',
|
||||||
mode: 'inline',
|
mode: 'inline',
|
||||||
@@ -16,6 +18,7 @@ function setEditable() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@endif
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user