openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 8826717b40823b262f44cb9792afaffae3c55382
parent 58c3c31f92d7bad8b11d154a29321c5ce053fbb0
Author: Jan Dankert <devnull@localhost>
Date:   Tue, 25 Sep 2012 22:05:24 +0200

Überflüssige console-Aufrufe entfernt, console-Aufrufe müssen darüber hinaus "IE-sicher" sein, d.h. das Nichtvorhandensein des console-Objektes berücksichtigen.

Diffstat:
themes/default/js/openrat.js | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/themes/default/js/openrat.js b/themes/default/js/openrat.js @@ -22,7 +22,7 @@ $(document).ready(function() function ping() { $.ajax( createUrl('title','ping',0) ); - console.log("Session-Ping"); + window.console && console.log("session-ping"); } @@ -182,7 +182,6 @@ function refreshWorkbench() */ function refreshTitleBar() { - console.debug("Reloading Titlebar"); $('div#title').load( createUrl('title','show',0 ),function() { $(this).fadeIn('slow'); registerHeaderEvents(); @@ -202,8 +201,6 @@ function loadViewByName(viewName, url ) function loadView(jo, url ) { - console.debug("Loading "+url); - //alert("Lade "+url + " in Objekt "+jo); // E d i t o r var editorConfig = {