Your IP : 216.73.216.229


Current Path : /home/jeromecohp/www/aesecure/premium/filereader/
Upload File :
Current File : /home/jeromecohp/www/aesecure/premium/filereader/filereader.js

// @file : /premium/filereader/filereader.js
// @version : 2.0.2
// @author : AVONTURE Christophe - christophe@aesecure.com
// @copyright : (C) 2013-2015 - Christophe Avonture - all right reserved.
// @url : http://www.aesecure.com/
// @package : 2015-02-14 13:37:44
// @license : This program is a commercial software.  You CAN'T redistribute it and/or modify it.
// Source code is the property of Christophe Avonture and can't be reused, in whole or in part, in any programs.
$(document).ready(function (){
$("#pattern").focus(function(){ $(this).select();} );
$("#pattern").keydown(function(e){
if(e.keyCode==13){ $("#hideLines").trigger('click'); return false;}});
$("#hideLines").click(function(e){
var lineContent=$('#pattern').val().toLowerCase();
if(lineContent==''){
alertify.error(aeSecure.msgNoPattern);}else{
$('#ajax').html('<img src="assets/loading.gif" height="16" width="16" alt=""/>');var foundOne=false;
$('.lineContent').each(function(){
sLine=this.innerText;
if(sLine.toLowerCase().indexOf(lineContent)>0){
if(foundOne==false){
$('#IgnoreItems').show();
$('#IgnoreItems ul').append('<li>"'+lineContent+'"</li>');}
foundOne=true;
$(this).html('<s class="removed">'+sLine+'</s>');}});
if(foundOne==true){
setTimeout(function(){
$('.removed').each(function(){
$(this).parent().remove();
$('#ajax').html("");})},1000);}else{
$('#ajax').html("");
alertify.log(aeSecure.msgNotFound);}
$('#pattern').focus();}});});