2013-08-01 Miguel de Dios <miguel.dedios@artica.es>

* include/javascript/pandora_visual_console.js: fixed the javascript
	error when sometimes there is not a new lines.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-08-01 09:01:31 +00:00
parent 8f1232f9e7
commit 4557e364b9
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-08-01 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_visual_console.js: fixed the javascript
error when sometimes there is not a new lines.
2013-07-31 Miguel de Dios <miguel.dedios@artica.es> 2013-07-31 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.php: change the code * godmode/reporting/visual_console_builder.php: change the code

View File

@ -25,6 +25,11 @@ function draw_line (line, id_div, editor) {
selector = ''; selector = '';
} }
//Check if the global var resize_map is defined
if (typeof(resize_map) == 'undefined') {
resize_map = 0;
}
div = document.getElementById (id_div); div = document.getElementById (id_div);
brush = new jsGraphics (div); brush = new jsGraphics (div);
brush.setStroke (1); brush.setStroke (1);