%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/task/11584/cwd/html/ppaobm/vendor/kartik-v/yii2-widget-depdrop/src/assets/js/ |
Upload File : |
/*! * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2016 * @package yii2-widgets * @subpackage yii2-widget-depdrop * @version 1.0.6 * * Extensions to dependent dropdown for Yii: * - Initializes dependent dropdown for Select2 widget * * For more JQuery plugins visit http://plugins.krajee.com * For more Yii related demos visit http://demos.krajee.com */ var initDepdropS2; (function ($) { "use strict"; initDepdropS2 = function (id, text) { var $s2 = $('#' + id), $s2cont = $('#select2-' + id + '-container'), ph = '...'; $s2.on('depdrop:beforeChange', function () { $s2.find('option').attr('value', ph).html(text); $s2.val(ph); $s2.select2('val', ph); $s2cont.removeClass('kv-loading').addClass('kv-loading'); }).on('depdrop:afterChange', function () { $s2.trigger('change'); $s2cont.removeClass('kv-loading'); }); }; }(window.jQuery));