remove debug output
This commit is contained in:
parent
afad6e95db
commit
56c6e6a334
|
@ -311,11 +311,8 @@ $(document).ready(function () {
|
||||||
img.parent().children('span').replaceWith(input);
|
img.parent().children('span').replaceWith(input);
|
||||||
input.focus();
|
input.focus();
|
||||||
input.keypress(function (event) {
|
input.keypress(function (event) {
|
||||||
console.log("event!");
|
|
||||||
if (event.keyCode == 13) {
|
if (event.keyCode == 13) {
|
||||||
console.log("13");
|
|
||||||
if ($(this).val().length > 0) {
|
if ($(this).val().length > 0) {
|
||||||
console.log("post");
|
|
||||||
$.post(
|
$.post(
|
||||||
OC.filePath('settings', 'ajax', 'changedisplayname.php'),
|
OC.filePath('settings', 'ajax', 'changedisplayname.php'),
|
||||||
{username:uid, displayName:$(this).val()},
|
{username:uid, displayName:$(this).val()},
|
||||||
|
|
Loading…
Reference in New Issue