Sha256: 251b9c6d6f1d0706b8351202a48ead76751e44fc6d09d540cbc0906648652e7c
Contents?: true
Size: 552 Bytes
Versions: 32
Compression:
Stored size: 552 Bytes
Contents
- singular = popup.to_s.singularize :plain new crm.Popup({ trigger : "#select_#{singular}", target : "#jumpbox", under : "#select_#{singular}", appear : 300, fade : 300, before_show : function() { $("#jumpbox_menu").hide(); $("#jumpbox_label").html("#{t(popup)}:"); $("#jumpbox_label").show(); crm.auto_complete("#{popup}", "#{related.class.to_s.downcase.pluralize}/#{related.id}"); }, after_show : function() { $("#auto_complete_query").focus(); } });
Version data entries
32 entries across 32 versions & 2 rubygems