|
|
@ -259,9 +259,9 @@ define([
|
|
|
|
if (placeholder) {
|
|
|
|
if (placeholder) {
|
|
|
|
input.placeholder = val;
|
|
|
|
input.placeholder = val;
|
|
|
|
input.value = '';
|
|
|
|
input.value = '';
|
|
|
|
$(input).change(function () {
|
|
|
|
$(input).on('keypress', function () {
|
|
|
|
input.placeholder = '';
|
|
|
|
$(input).removeAttr('placeholder');
|
|
|
|
$(input).off(change);
|
|
|
|
$(input).off('keypress');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (uid) { $(input).data('uid', uid); }
|
|
|
|
if (uid) { $(input).data('uid', uid); }
|
|
|
|