Fix error with adding rank

This commit is contained in:
Nabeel Shahzad 2018-03-09 10:24:22 -06:00
parent 83f0f1bfe3
commit 724daabc5a

View File

@ -1,6 +1,8 @@
@section('scripts')
<script>
function setEditable() {
@if(isset($rank))
$('#subfleets-table a').editable({
type: 'text',
mode: 'inline',
@ -16,6 +18,7 @@ function setEditable() {
}
}
});
@endif
}
$(document).ready(function () {