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') @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 () {