Behaviour.addLoadEvent not working after TeamCity upgrade to 2018.1.1

We recently upgraded our teamcity server from TeamCity 2017.2.1. to 2018.1.1.We developed a plugin in TeamCity 2017.2.1.

The folllowing snippert of code was used in the plugin server jsp to load a function on startup







   <script type="text/javascript">   

    Behaviour.addLoadEvent(function() {







After upgrade to 2018.1.1,we see that this javascript fails to load with the error "Behaviour is not defined".Not sure on why this error is occuring.Is there any change ito the internal js libraries after upgrade?


Please sign in to leave a comment.