creating and using an app-specific egw object

This commit is contained in:
Ralf Becker
2013-10-07 16:53:13 +00:00
parent 6950fb0cc9
commit a6311fa1a3
6 changed files with 60 additions and 44 deletions

View File

@ -258,7 +258,7 @@ app.addressbook = AppJS.extend(
add_new_list: function(owner)
{
var name = window.prompt(egw.lang('Name for the distribution list'));
var name = window.prompt(this.egw.lang('Name for the distribution list'));
if (name)
{
egw.open('','addressbook', 'list', {
@ -412,4 +412,4 @@ app.addressbook = AppJS.extend(
//Not implemented
},
});
});