updating
This commit is contained in:
parent
e392b0880a
commit
cd255f6173
|
@ -11,6 +11,10 @@ $( document ).ready(function() {
|
||||||
function jslink ( texts, clickf) {
|
function jslink ( texts, clickf) {
|
||||||
return $('<a>', { href: "javascript:void(0)",
|
return $('<a>', { href: "javascript:void(0)",
|
||||||
click: clickf } ).html(texts); }
|
click: clickf } ).html(texts); }
|
||||||
|
function jslinki ( texts, clickf) {
|
||||||
|
var i = $('<a>', { href: "javascript:void(0)",
|
||||||
|
click: function () { clickf(i); } } );
|
||||||
|
return i.html(texts); }
|
||||||
|
|
||||||
function dynamic_send ( u, o ) {
|
function dynamic_send ( u, o ) {
|
||||||
o['email'] = localStorage['email'];
|
o['email'] = localStorage['email'];
|
||||||
|
@ -516,8 +520,9 @@ $( document ).ready(function() {
|
||||||
evaluate_search();
|
evaluate_search();
|
||||||
open_info(value); }),
|
open_info(value); }),
|
||||||
" | ",
|
" | ",
|
||||||
jslink( "update", function () {
|
jslinki( "update", function (i) {
|
||||||
dynamic_send ( "/jsonp/update", {} ); }),
|
dynamic_send ( "/jsonp/update", {} );
|
||||||
|
i.text("updating..."); }),
|
||||||
" | ",
|
" | ",
|
||||||
jslink( "logout", function () {
|
jslink( "logout", function () {
|
||||||
localStorage['email'] = "";
|
localStorage['email'] = "";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user