// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path. // // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // compiled file. JavaScript code in this file should be added after the last require_* statement. // // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details // about supported directives. // //= require kuppayam/utilities.js //= require toastr/toastr.min.js //= require materialize/vendors.min.js //= require materialize/app.min.js //= require materialize/hoe.js // require wysihtml5/lib/js/wysihtml5-0.3.0.js // require wysihtml5/src/bootstrap-wysihtml5.js // require daterangepicker/daterangepicker.js // require multiselect/js/jquery.multi-select.js // require uikit/js/addons/autocomplete.js // require tagsinput/bootstrap-tagsinput.min.js //= require_self $(document).ready(function(){ $('.tooltip-btn').tooltip(); $('#printing_device_color').change(function() { $('.color-input').hide(); $('.' + $(this).val()).show(); }); });