Zeile 3 | Zeile 3 |
---|
init: function() {
|
init: function() {
|
$(document).ready(function()
| $(function()
|
{ inlineEditor.bindSubjects(); });
| { inlineEditor.bindSubjects(); });
|
Zeile 38 | Zeile 38 |
---|
{ $.each(values.errors, function(i, message) {
|
{ $.each(values.errors, function(i, message) {
|
$.jGrowl(lang.post_fetch_error + ' ' + message);
| $.jGrowl(lang.post_fetch_error + ' ' + message, {theme:'jgrowl_error'});
|
}); $(this).html($('#tid_' + tid + '_temp').html()); }
| }); $(this).html($('#tid_' + tid + '_temp').html()); }
|
Zeile 58 | Zeile 58 |
---|
});
// Hold event
|
});
// Hold event
|
$(this).bind("mousedown", function(e)
| $(this).on("mousedown", function(e)
|
{ // Take tid out of the id attribute id = $(this).attr('id');
| { // Take tid out of the id attribute id = $(this).attr('id');
|
Zeile 71 | Zeile 71 |
---|
inlineEditor.timeouts[tid] = setTimeout(inlineEditor.jeditableTimeout, 700, tid); });
|
inlineEditor.timeouts[tid] = setTimeout(inlineEditor.jeditableTimeout, 700, tid); });
|
$(this).bind('mouseup mouseleave', function()
| $(this).on('mouseup mouseleave', function()
|
{ window.clearTimeout(inlineEditor.timeouts[tid]); });
| { window.clearTimeout(inlineEditor.timeouts[tid]); });
|