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:
mdtrooper 2014-06-02 10:47:00 +00:00
parent bfef80126e
commit dba745e2fa
2 changed files with 40 additions and 32 deletions

View File

@ -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> 2014-06-01 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql: fixed the insertion data of tnews, the lost * pandoradb_data.sql: fixed the insertion data of tnews, the lost

View File

@ -63,6 +63,8 @@ ui_require_javascript_file ('encode_decode_base64');
/* <![CDATA[ */ /* <![CDATA[ */
$(document).ready (function () { $(document).ready (function () {
if (typeof($('#news_json').html()) != "undefined") {
var news_raw = Base64.decode($('#news_json').html()); var news_raw = Base64.decode($('#news_json').html());
var news = JSON.parse(news_raw); var news = JSON.parse(news_raw);
var inew = 0; var inew = 0;
@ -98,6 +100,7 @@ $(document).ready (function () {
}); });
show_new (); show_new ();
}
}); });
/* ]]> */ /* ]]> */