refactored javascript models

This commit is contained in:
Rushabh Mehta
2012-12-13 12:53:21 +05:30
parent 1b8a4cab26
commit 291449b6fb
33 changed files with 104 additions and 109 deletions

View File

@@ -36,7 +36,7 @@ erpnext.ActivityFeed = Class.extend({
// feedtype
if(!data.feed_type) {
data.feed_type = get_doctype_label(data.doc_type);
data.feed_type = wn._(data.doc_type);
data.add_class = "label-info";
data.onclick = repl('onclick="window.location.href=\'#!List/%(feed_type)s\';"', data)
}