-rw-r--r-- | frontend/beta/css/yui-extensions/basic-dialog.css | 2 | ||||
-rw-r--r-- | frontend/beta/js/Clipperz/PM/DataModel/Record.js | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/frontend/beta/css/yui-extensions/basic-dialog.css b/frontend/beta/css/yui-extensions/basic-dialog.css index bad0679..5a9f311 100644 --- a/frontend/beta/css/yui-extensions/basic-dialog.css +++ b/frontend/beta/css/yui-extensions/basic-dialog.css | |||
@@ -23,9 +23,8 @@ refer to http://www.clipperz.com. | |||
23 | 23 | ||
24 | */ | 24 | */ |
25 | 25 | ||
26 | .ydlg-proxy { | 26 | .ydlg-proxy { |
27 | background-image: url(../images/default/gradient-bg.gif); | ||
28 | background-color:#c3daf9; | 27 | background-color:#c3daf9; |
29 | border:1px solid #6593cf; | 28 | border:1px solid #6593cf; |
30 | z-index:10001; | 29 | z-index:10001; |
31 | overflow:hidden; | 30 | overflow:hidden; |
@@ -92,9 +91,8 @@ body.masked .ydlg select { | |||
92 | background: url(../images/default/basic-dialog/hd-sprite.gif) no-repeat right 0; | 91 | background: url(../images/default/basic-dialog/hd-sprite.gif) no-repeat right 0; |
93 | padding-right:3px; | 92 | padding-right:3px; |
94 | } | 93 | } |
95 | .ydlg .ydlg-dlg-body{ | 94 | .ydlg .ydlg-dlg-body{ |
96 | background:url(../images/default/layout/gradient-bg.gif); | ||
97 | border:1px solid #6593cf; | 95 | border:1px solid #6593cf; |
98 | border-top:0 none; | 96 | border-top:0 none; |
99 | padding:10px; | 97 | padding:10px; |
100 | overflow:hidden; | 98 | overflow:hidden; |
diff --git a/frontend/beta/js/Clipperz/PM/DataModel/Record.js b/frontend/beta/js/Clipperz/PM/DataModel/Record.js index ffb45de..9e496de 100644 --- a/frontend/beta/js/Clipperz/PM/DataModel/Record.js +++ b/frontend/beta/js/Clipperz/PM/DataModel/Record.js | |||
@@ -291,10 +291,16 @@ console.log("Record.processData", someValues); | |||
291 | } else { | 291 | } else { |
292 | this.setCurrentVersionKey(this.key()); | 292 | this.setCurrentVersionKey(this.key()); |
293 | } | 293 | } |
294 | 294 | ||
295 | // currentVersionParameters = someValues['currentVersion']; | 295 | // community edition doesn't currently pass version |
296 | currentVersionParameters = someValues['versions'][someValues['currentVersion']]; | 296 | // information |
297 | if (someValues['versions'] == null) { | ||
298 | currentVersionParameters = someValues['currentVersion']; | ||
299 | } else { | ||
300 | currentVersionParameters = someValues['versions'][someValues['currentVersion']]; | ||
301 | } | ||
302 | |||
297 | console.log("Record.processData - this.currentVersionKey()", this.currentVersionKey()); | 303 | console.log("Record.processData - this.currentVersionKey()", this.currentVersionKey()); |
298 | console.log("Record.processData - currentVersionParameters", currentVersionParameters); | 304 | console.log("Record.processData - currentVersionParameters", currentVersionParameters); |
299 | currentVersionParameters['key'] = this.currentVersionKey(); | 305 | currentVersionParameters['key'] = this.currentVersionKey(); |
300 | this.setCurrentVersion(new Clipperz.PM.DataModel.RecordVersion(this, currentVersionParameters)); | 306 | this.setCurrentVersion(new Clipperz.PM.DataModel.RecordVersion(this, currentVersionParameters)); |