added temporary debug info to Notify::ItemChanged() method

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@674 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2010-11-04 17:05:59 +00:00
parent e6679a3192
commit 5010ef93e8
2 changed files with 35 additions and 26 deletions

View File

@ -235,6 +235,15 @@ Users::Iterator i;
if( notify_code == 0 ) if( notify_code == 0 )
return; return;
if( !system || !system->mounts.pmount || !config )
{
log << log1 << "!!! Notify: some objects are not set: "
<< system << ", "
<< system->mounts.pmount << ", "
<< config logend;
return;
}
n.notify_code = notify_code; n.notify_code = notify_code;
n.current_mount_type = system->mounts.pmount->type; n.current_mount_type = system->mounts.pmount->type;
n.doc_base_url = config->base_url; n.doc_base_url = config->base_url;

View File

@ -44,7 +44,7 @@ static const char vim_wymiframe[] =
"<head>\n" "<head>\n"
"<title>WYMeditor iframe</title>\n" "<title>WYMeditor iframe</title>\n"
"<meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\n" "<meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\n"
"<link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"[doc_base_url_common]/wymeditor/iframe/default/wymiframe.css\">\n" "<link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"[doc_base_url_common]/wymeditor/iframe/default/wymiframe.css\" />\n"
"</head>\n" "</head>\n"
"<body class=\"wym_iframe\"></body>\n" "<body class=\"wym_iframe\"></body>\n"
"</html>\n"; "</html>\n";