Open GoogleCodeExporter opened 9 years ago
this code works in all browser except IE8 and IE7.. Please give me some
solution.
Original comment by anupam82...@gmail.com
on 17 Sep 2011 at 5:56
[deleted comment]
Cause of this issue is in setInitialValue.
Fixed code is below.
setInitialValue: function() {
var initialValue = this.triggerDelegateCall('willOpenEditInPlace', this.originalValue);
/* changed start */
//var editor = this.dom.find(':input');
var editor = this.dom.find(':input:not(:button)');
/* changed end */
editor.val(initialValue);
// Workaround for select fields which don't contain the original value.
// Somehow the browsers don't like to select the instructional choice (disabled) in that case
if (editor.val() !== initialValue)
editor.val(''); // selects instructional choice
},
Original comment by manabe1...@gmail.com
on 28 Feb 2012 at 2:53
Original issue reported on code.google.com by
iliketom...@gmail.com
on 23 Aug 2011 at 7:35