[FIX] im_chat, im_livechat : style, js notification and bundle without achtung lib

This commit is contained in:
Jérôme Maes 2014-07-01 10:03:24 +02:00 committed by Richard Mathot
parent 9132b1d306
commit d03afb14df
3 changed files with 3 additions and 3 deletions

View File

@ -12,8 +12,9 @@
}
}
/* button */
.oe_systray #oe_topbar_im_icon {
.oe_systray #oe_topbar_imbutton_icon {
color: white;
margin-right: 10px;
}
.oe_topbar_item.oe_topbar_imbutton .oe_e {
position: relative;

View File

@ -104,6 +104,7 @@
this.manager.set("bottom_offset", $('.oe_chat_button').outerHeight()); // TODO correct the value (no hardcode damned !)
// override the notification default function
this.manager.notification = function(notif){
alert(notif);
}
}
return this.chat();

View File

@ -116,11 +116,9 @@
<!-- IM module -->
<script type="text/javascript" src="/bus/static/src/js/bus.js"></script>
<script type="text/javascript" src="/im_chat/static/src/js/im_chat.js"></script>
<script type="text/javascript" src="/im_livechat/static/lib/jquery-achtung/src/ui.achtung.js"></script>
<script type="text/javascript" src="/im_livechat/static/src/js/im_livechat.js"></script>
<!-- CSS -->
<link rel="stylesheet" href="/im_chat/static/src/css/im_common.css"></link>
<link rel="stylesheet" href="/im_livechat/static/lib/jquery-achtung/src/ui.achtung.css"></link>
</template>
<!-- the js code to initialize the LiveSupport object -->