Opened 6 years ago

Closed 6 years ago

#1823 closed defect (fixed)

jQuery Chosen js error (Backend)

Reported by: markusliechti Owned by: kramer
Priority: normal Milestone: Contrexx 3.1 SP1
Component: cxjs Version: 3.1 Hotfix 1
Severity: normal Keywords: Javascript.class.php
Cc:

Description

jQuery Chosen verursacht manchmal im Backend JS-Errors. Dies kann mit folgendem Code in Javascript.class.php umgangen werden. (Code von Ramon); jQ UI input select enhancer. used in Content Manager 2

'chosen' => array(

'jsfiles' => array(

'lib/javascript/jquery/chosen/chosen.jquery.js'

), 'dependencies' => array('jquery'), 'specialcode' => '

$J(document).ready(function() {

if(jQuery(\'.chzn-select\').length>0){

jQuery(\'.chzn-select\').chosen();

}

});'

Change History (2)

comment:1 Changed 6 years ago by kramer

  • Milestone changed from unknown to Contrexx 3.1 Hotfix 2
  • Owner changed from comvation to kramer
  • Status changed from new to assigned

comment:2 Changed 6 years ago by kramer

  • Resolution set to fixed
  • Status changed from assigned to closed

(In https://github.com/Cloudrexx/cloudrexx/commit/89d5f7fdc1cb11e7b6d40e61f537a546454b452d) Merged revision 28740 from trunk to branch contrexx_3_1 - Core/Javascript? (fixed #1823): a javascript error occurs in older browsers when the check whether the object exists or not does not exist

Note: See TracTickets for help on using tickets.