Skip to content

A free open source IT asset/license management system

Color picker UI fix

snipe55857c910ac4
diff --git a/resources/views/statuslabels/edit.blade.php b/resources/views/statuslabels/edit.blade.php
index 37f15a98b9..31c999491f 100755
--- a/resources/views/statuslabels/edit.blade.php
+++ b/resources/views/statuslabels/edit.blade.php
@@ -66,8 +66,13 @@
@section('moar_scripts')
<!-- bootstrap color picker -->
<script nonce="{{ csrf_token() }}">
- //color picker with addon
- $(".color").colorpicker();
+ $(function() {
+ $('.color').colorpicker({
+ color: '#AA3399',
+ format: 'hex'
+ });
+ });
+
</script>
@stop