diff options
Diffstat (limited to 'install/static/ipa.js')
-rw-r--r-- | install/static/ipa.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/static/ipa.js b/install/static/ipa.js index 6f44e358..10993af8 100644 --- a/install/static/ipa.js +++ b/install/static/ipa.js @@ -57,8 +57,8 @@ var IPA = ( function () { that.layouts_dir = 'layouts'; that.get_template = function(path) { - if (!that.layout) return path; - return that.layouts_dir+'/'+that.layout+'/'+path; + var layout = that.layout || 'default'; + return that.layouts_dir+'/'+layout+'/'+path; }; /* initialize the IPA JSON-RPC helper |