mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
2014-06-01 Miguel de Dios <miguel.dedios@artica.es>
* general/news_dialog.php: fixed the empty list of news in the first login. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
bfef80126e
commit
dba745e2fa
@ -1,3 +1,8 @@
|
||||
2014-06-01 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* general/news_dialog.php: fixed the empty list of news in the first
|
||||
login.
|
||||
|
||||
2014-06-01 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* pandoradb_data.sql: fixed the insertion data of tnews, the lost
|
||||
|
@ -63,6 +63,8 @@ ui_require_javascript_file ('encode_decode_base64');
|
||||
/* <![CDATA[ */
|
||||
|
||||
$(document).ready (function () {
|
||||
if (typeof($('#news_json').html()) != "undefined") {
|
||||
|
||||
var news_raw = Base64.decode($('#news_json').html());
|
||||
var news = JSON.parse(news_raw);
|
||||
var inew = 0;
|
||||
@ -98,6 +100,7 @@ $(document).ready (function () {
|
||||
});
|
||||
|
||||
show_new ();
|
||||
}
|
||||
});
|
||||
|
||||
/* ]]> */
|
||||
|
Loading…
x
Reference in New Issue
Block a user