Skip to content

Commit

Permalink
more...
Browse files Browse the repository at this point in the history
  • Loading branch information
bstarynk committed Nov 24, 2015
1 parent 2c33800 commit 9109ae5
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions webroot/microedit.js
Expand Up @@ -647,9 +647,23 @@ function mome_node(connitm, sonsarr) {
return res;
};

//function editdivinput(ev) {
// console.log ("editdivinput ev=", ev, " this=", this);
//}
function editdivinput(ev) {
console.log ("editdivinput ev=", ev, " this=", this,
" $(this)=", $(this),
" $(':focus')=", $(':focus'));
};

function editdivfocusin(ev) {
console.log ("editdivfocusin ev=", ev, " this=", this,
" $(this)=", $(this),
" $(':focus')=", $(':focus'));
};

function editdivfocusout(ev) {
console.log ("editdivfocusout ev=", ev, " this=", this,
" $(this)=", $(this),
" $(':focus')=", $(':focus'));
};

//function editdivbeforeinput(ev) {
// console.log ("editdivbeforeinput ev=", ev, " this=", this);
Expand All @@ -669,6 +683,9 @@ $(document).ready(function(){
console.log("clearedit evt=", evt);
$editlog.html("");
});
$editdiv.on("input", editdivinput);
$editdiv.on("focusin", editdivfocusin);
$editdiv.on("focusout", editdivfocusout);
console.log("microedit before ajax do_fillpage");
// $editdiv.on("input", editdivinput);
// $editdiv.on("beforeinput", editdivbeforeinput);
Expand Down

0 comments on commit 9109ae5

Please sign in to comment.