Browse Source

fix to profile_settings

version-14
Rushabh Mehta 13 years ago
parent
commit
a7f3a33b83
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      js/wn/ui/appframe.js

+ 3
- 1
js/wn/ui/appframe.js View File

@@ -1,5 +1,5 @@
wn.ui.AppFrame = Class.extend({
init: function(parent) {
init: function(parent, title) {
this.buttons = {};
this.$w = $('<div></div>').appendTo(parent);
@@ -11,6 +11,8 @@ wn.ui.AppFrame = Class.extend({
this.$w.find('.close').click(function() {
window.history.back();
})
if(title) this.title(title);

},
title: function(txt) {


Loading…
Cancel
Save