Changeset 29631


Ignore:
Timestamp:
09/18/14 16:51:46 (5 years ago)
Author:
mistic100
Message:

use selectize

Location:
extensions/CryptograPHP/template
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/CryptograPHP/template/admin.tpl

    r28344 r29631  
    44{combine_script id='jquery.colorpicker' load='footer' path=$CRYPTO_PATH|cat:'template/colorpicker/colorpicker.js'} 
    55 
    6 {combine_css path='themes/default/js/plugins/chosen.css'} 
    7 {combine_script id='jquery.chosen' load='footer' path='themes/default/js/plugins/chosen.jquery.min.js'} 
     6{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.{$themeconf.colorscheme}.css"} 
     7{combine_script id='jquery.selectize' load='footer' path='themes/default/js/plugins/selectize.min.js'} 
    88 
    99 
     
    9696 
    9797// multiselect 
    98 $("select").css({ 
    99   width: 300 
    100 }).chosen({ 
    101   disable_search:true, 
     98$('[name="activate_on[]"]').selectize({ 
     99  plugins: ['remove_button'] 
    102100}); 
    103101 
  • extensions/CryptograPHP/template/style.css

    r26554 r29631  
    1515} 
    1616 
    17 .chzn-choices li { 
    18   clear:none !important; 
     17.selectize-control { 
     18  width:300px; 
     19  display:inline-block; 
    1920} 
Note: See TracChangeset for help on using the changeset viewer.