changed: editors (emacs, ckeditor...) doesn't set an item's title now (if it was empty)

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1003 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2015-03-02 21:23:29 +00:00
parent 34f0535a26
commit dc301d4c50
2 changed files with 3 additions and 1 deletions

View File

@ -508,12 +508,14 @@ void Functions::ReadItemUrlSubject(Item & item, Item::Type item_type)
if( new_subject )
item.subject = *new_subject;
/*
if( item.subject.empty() )
{
item.subject = cur->request->dir_tab.back()->subject;
item.subject += L"_msg_";
Toa(db->Size(cur->request->dir_tab.back()->id, Item::file), item.subject, 10, false);
}
*/
if( new_url )
item.url = *new_url;

View File

@ -41,7 +41,7 @@
namespace Winix
{
// !! IMPROVE ME moze zamienic na EzcFunctions
namespace TemplatesFunctions
{