Replace old "live" function with "on", fix toolbar. see #7539

1.10.x
Julio Montoya 11 years ago
commit 080e417f0c
  1. 0
      archive/.htaccess
  2. 0
      main/css/bootstrap.css
  3. 0
      main/inc/lib/javascript/bootstrap/bootstrap.js
  4. 9
      main/inc/lib/javascript/chat/js/chat.js
  5. 0
      main/inc/lib/javascript/jquery.min.js
  6. 2
      main/template/default/agenda/month.tpl

@ -64,7 +64,7 @@ $(document).ready(function() {
/* Live conditions */
// User name header toogle
$('#chatboxtitlemain').live('click', function() {
$('#chatboxtitlemain').on('click', function() {
if (user_status == 1) {
stopChatHeartBeat();
$('.user_status_main').html(offline_button);
@ -79,7 +79,7 @@ $(document).ready(function() {
});
// User name header toogle
$('.chatboxtitle').live('click', function(){
$('.chatboxtitle').on('click', function(){
chatbox = $(this).parents(".chatbox");
var chat_id = chatbox.attr('id');
chat_id = chat_id.split('_')[1];
@ -87,17 +87,16 @@ $(document).ready(function() {
});
//Minimize button
$('.chatboxhead .togglelink').live('click', function(){
$('.chatboxhead .togglelink').on('click', function(){
var chat_id = $(this).attr('rel');
toggleChatBoxGrowth(chat_id);
});
//Close button
$('.chatboxhead .closelink').live('click', function(){
$('.chatboxhead .closelink').on('click', function(){
var chat_id = $(this).attr('rel');
closeChatBox(chat_id);
});
});

@ -79,7 +79,7 @@ $(document).ready(function() {
});
$.datepicker.setDefaults( $.datepicker.regional[region_value] );
var calendar = $('#calendar').fullCalendar({
header: {
left: 'today prev,next',

Loading…
Cancel
Save