widget title and page title fixed for page

This commit is contained in:
harrybomrah committed 2014-10-13 18:04:51 +08:00
1 parent c4cd4fd707
commit 24a07a5780
4 files changed
+6 -5

No files matched your search

@@ -219,7 +219,8 @@ var Items = function(){
select.append("<option value='" + layout + "'>" + layout + "</option>");
}else if(typeof layout.length == "undefined"){
do_select = true;
select.append("<option value='" + layout.filename + "' data-image='" + layout.thumbnail + "'>" + layout.name + "</option>");
var name = (layout.name[data.locale] ? layout.name[data.locale] : layout.name);
select.append("<option value='" + layout.filename + "' data-image='" + layout.thumbnail + "'>" + name + "</option>");
}
})
controlDiv.html(select);