mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
issue 160, apply cdn to member_communication`s js file, fixed a bug related convertion character
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9323 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b9a4990592
commit
f555181539
2 changed files with 2 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
$new_message_count = trim(FileHandler::readFile($flag_file));
|
||||
FileHandler::removeFile($flag_file);
|
||||
Context::loadLang('./addons/member_communication/lang');
|
||||
Context::loadFile(array('./addons/member_communication/tpl/member_communication.js'));
|
||||
Context::loadFile(array('./addons/member_communication/tpl/member_communication.js'), true);
|
||||
|
||||
$text = preg_replace('@\r?\n@', '\\n', addslashes(Context::getLang('alert_new_message_arrived')));
|
||||
$link = Context::getRequestUri().'?module=communication&act=dispCommunicationNewMessage';
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ window.xeNotifyMessage = function(text, count){
|
|||
.appendTo(document.body);
|
||||
}
|
||||
|
||||
text = text.replace('%d', count);
|
||||
h = $bar.html('<a href="'+current_url.setQuery('act','dispCommunicationMessages')+'">'+text+'</a>').height();
|
||||
$bar.css('top', -h-4).show().animate({top:0});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue