Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1387

Přidáno uživatelem David Raška před asi 12 roky(ů)

Opravy:
- #127: Odstranen problem s asynchronnim vyhledavanim, nyni se pred novym hledanim, prerusi stare

Zobrazit rozdíly:

freenetis/branches/testing/application/views/js/base.php
context = $('html');
var r_get = null;
editorInit = function (){
tinyMCE.init({
// General options
......
{
if ($("#keyword").val().length >=1)
{
if (r_get != null)
{
r_get.abort();
r_get = null;
}
$("#whisper").html("<img src='<?php echo url::base() ?>media/images/icons/animations/ajax-loader-big.gif' class='ajax-loader-big'>");
$("#whisper").show('slow');
$.get("<?php echo url_lang::base() ?>search/ajax/", {
r_get = $.get("<?php echo url_lang::base() ?>search/ajax/", {
q: $("#keyword").val()
}, function (data)
{

Také k dispozici: Unified diff