fix fullForm link

This commit is contained in:
yuri
2015-06-03 11:16:09 +03:00
parent ca038970ff
commit ccca6a8f55
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ Espo.define('Views.Modals.Detail', 'Views.Modal', function (Dep) {
this.header += ' » ' + model.get('name');
}
if (!this.fullFormDisabled) {
this.header = '<a href="javascript:" class="action" title="'+this.translate('Full Form')+'" data-action="fullForm">' + this.header + '</a>';
this.header = '<a href="#' + this.scope + '/view/' + this.id+'" class="action" title="'+this.translate('Full Form')+'" data-action="fullForm">' + this.header + '</a>';
}
if (this.editButton && this.getAcl().check(model, 'edit')) {
+1 -1
View File
@@ -82,7 +82,7 @@ Espo.define('Views.Modals.Edit', 'Views.Modal', function (Dep) {
this.header += ' ' + this.getLanguage().translate(this.scope, 'scopeNames');
if (!this.fullFormDisabled) {
this.header = '<a href="javascript:" class="action" title="'+this.translate('Full Form')+'" data-action="fullForm">' + this.header + '</a>';
this.header = '<a href="#' + this.scope + '/edit/' + this.id+'" class="action" title="'+this.translate('Full Form')+'" data-action="fullForm">' + this.header + '</a>';
}
this.waitForView('edit');