From: Nobuhiko N. <n-n...@pp...> - 2009-08-25 09:02:01
|
Hi, I use AjaxInplaceEditor with valueWhenEmpty binding (In Japanese). But It always show "click to edit...". In wonder_inplace.js: ... Object.extend(Ajax.InPlaceEditor.prototype, { initialize: function(element, url, options) { var newOptions = Object.extend(options || {}, { valueWhenEmpty: 'click to edit...', emptyClassName: 'inplaceeditor-empty' }); this.__initialize(element,url,newOptions) this._checkEmpty(); }, ... var newOptions = Object.extend(options || {}, {...}) should be: var newOptions = Object.extend({...}, options || {}) ? --- nakano |