code
stringlengths
1
2.08M
language
stringclasses
1 value
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MP...
JavaScript
define('ace/mode/powershell', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/powershell_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
"no use strict"; var console = { log: function(msg) { postMessage({type: "log", data: msg}); } }; var window = { console: console }; var normalizeModule = function(parentId, moduleName) { // normalize plugin requires if (moduleName.indexOf("!") !== -1) { var chunks = moduleName.spl...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
define('ace/mode/scala', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/scala_highlight_rules'], function(require, exports, module) { var oop = require("../lib/oop"); var JavaScriptMode = require("./javascript").Mode; var Tokenizer = require("../tokenizer").Tokenize...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
define('ace/mode/csharp', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/csharp_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var TextMode...
JavaScript
"no use strict"; var console = { log: function(msg) { postMessage({type: "log", data: msg}); } }; var window = { console: console }; var normalizeModule = function(parentId, moduleName) { // normalize plugin requires if (moduleName.indexOf("!") !== -1) { var chunks = moduleName.spl...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
define('ace/mode/groovy', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/groovy_highlight_rules'], function(require, exports, module) { var oop = require("../lib/oop"); var JavaScriptMode = require("./javascript").Mode; var Tokenizer = require("../tokenizer").Tokeni...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * The Original Code is Ajax.org Code Editor (ACE). * * Contributor(s): * Jonathan Camile <jonathan.camile AT gmail DOT com> * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
define('ace/mode/golang', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/golang_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var T...
JavaScript
define('ace/mode/haxe', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/haxe_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var TextMode = r...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Softw...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
JavaScript
function SHA1 (msg) { function rotate_left(n,s) { var t4 = ( n<<s ) | (n>>>(32-s)); return t4; }; function lsb_hex(val) { var str=""; var i; var vh; var vl; for( i=0; i<=6; i+=2 ) { vh = (val>>>(i*4+4))&0x0f; vl = (val>>>(i*4))&0x0f; str += vh.toString(16) + vl.toString(16);...
JavaScript
// $Revision: 1.49 $ // Vars Vars = function(qStr) { this.numVars = 0; if(qStr != null) { var nameValue, name; var pairs = qStr.split('&'); var pairLen = pairs.length; for(var i = 0; i < pairLen; i++) { var pair = pairs[i]; if( (pair.indexOf('=')!= -1) && (pair.length > 3) ) { var nameVal...
JavaScript
// Flash Player Version Detection - Rev 1.5 // Detect Client Browser type // Copyright(c) 2005-2006 Adobe Macromedia Software, LLC. All rights reserved. var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false; var...
JavaScript
// $Revision: 1.49 $ // Vars Vars = function(qStr) { this.numVars = 0; if(qStr != null) { var nameValue, name; var pairs = qStr.split('&'); var pairLen = pairs.length; for(var i = 0; i < pairLen; i++) { var pair = pairs[i]; if( (pair.indexOf('=')!= -1) && (pair.length > 3) ) { var nameVal...
JavaScript
// Flash Player Version Detection - Rev 1.5 // Detect Client Browser type // Copyright(c) 2005-2006 Adobe Macromedia Software, LLC. All rights reserved. var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false; var...
JavaScript
$.ajax({ url: "http://vicounter.localhost/frontend_dev.php/rest/show.json", dataType: "jsonp", error: function(XMLHttpRequest, textStatus, errorThrown){ alert(textStatus); }, success: function(result, txtStatus, httpRequest) { alert("product: " + result.product + " | price: " + resul...
JavaScript
var refresh_timer = setInterval(function(){ $.ajax({ url: "http://vicounter.localhost/frontend_dev.php/rest/show.json", dataType: "jsonp", headers: {'method': 'PUT'}, error: function(XMLHttpRequest, textStatus, errorThrown){ alert(textStatus); }, success: function(result, txtStat...
JavaScript
/** * jCarouselLite - jQuery plugin to navigate images/any content in a carousel style widget. * @requires jQuery v1.2 or above * * http://gmarwaha.com/jquery/jcarousellite/ * * Copyright (c) 2007 Ganeshji Marwaha (gmarwaha.com) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org...
JavaScript
// JavaScript Document $.widget("ui.form",{ _init:function(){ var object = this; var form = this.element; var inputs = form.find("input , select ,textarea"); form.find("fieldset").addClass("ui-widget-content ui-corner-all"); form.find("legend").addClass("ui-widget-header ui-corner...
JavaScript
//setInterval("signin()", 20000); signin(); function signin(){ $.ajax({ url: "http://dookh.localhost/rest_dev.php/rest/user/signin", dataType: "json", method: "post", data: "{'user' : 'amel', 'password' : '123456'}", error: function(XMLHttpRequest, textStatus, errorThrown){ alert(textS...
JavaScript
/* This file is part of Ext JS 4 Copyright (c) 2011 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included...
JavaScript
var Ymax=8; //MAX # OF PIXEL STEPS IN THE "X" DIRECTION var Xmax=8; //MAX # OF PIXEL STEPS IN THE "Y" DIRECTION var Tmax=10000; //MAX # OF MILLISECONDS BETWEEN PARAMETER CHANGES //FLOATING IMAGE URLS FOR EACH IMAGE. ADD OR DELETE ...
JavaScript
var Ymax=8; //MAX # OF PIXEL STEPS IN THE "X" DIRECTION var Xmax=8; //MAX # OF PIXEL STEPS IN THE "Y" DIRECTION var Tmax=10000; //MAX # OF MILLISECONDS BETWEEN PARAMETER CHANGES //FLOATING IMAGE URLS FOR EACH IMAGE. ADD OR DELETE ...
JavaScript
/* http://www.JSON.org/json2.js 2008-05-25 Public Domain. NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. See http://www.JSON.org/js.html This file creates a global JSON object containing two methods: stringify and parse. JSON.stringify(value, replacer, space) ...
JavaScript
PrimeFaces.locales['pt_BR'] = { closeText : 'Fechar', prevText : 'Anterior', nextText : 'Próximo', currentText : 'Começo', monthNames : [ 'Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro' ], monthNamesShort : [ 'Jan', 'Fev', 'Mar', 'Abr'...
JavaScript
/*! * Media helper for fancyBox * version: 1.0.6 (Fri, 14 Jun 2013) * @requires fancyBox v2.0 or later * * Usage: * $(".fancybox").fancybox({ * helpers : { * media: true * } * }); * * Set custom URL parameters: * $(".fancybox").fancybox({ * helpers : { * ...
JavaScript
/*! * Buttons helper for fancyBox * version: 1.0.5 (Mon, 15 Oct 2012) * @requires fancyBox v2.0 or later * * Usage: * $(".fancybox").fancybox({ * helpers : { * buttons: { * position : 'top' * } * } * }); * */ (function ($) { //Shortcut for ...
JavaScript
/*! * Thumbnail helper for fancyBox * version: 1.0.7 (Mon, 01 Oct 2012) * @requires fancyBox v2.0 or later * * Usage: * $(".fancybox").fancybox({ * helpers : { * thumbs: { * width : 50, * height : 50 * } * } * }); * */ (fun...
JavaScript
/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net) * Licensed under the MIT License (LICENSE.txt). * * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. * Thanks to: Seamus Leahy for adding deltaX and ...
JavaScript
$(function() { var $supplyItems = []; var $courierItems = []; var $communicationItems = []; var $utilityItems = []; var $diningItems = []; var $active = ''; var selectbox = false; var $child = ''; var $activeMenu = ''; var $heading = ''; var $active = ''; var $partner = '...
JavaScript
/*! * jQuery Cookie Plugin v1.4.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2013 Klaus Hartl * Released under the MIT license */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD define(['jquery'], factory); } else if (typeof exports === 'object') { // CommonJS...
JavaScript
// S5 v1.1 slides.js -- released into the Public Domain // Modified for Docutils (http://docutils.sf.net) by David Goodger // // Please see http://www.meyerweb.com/eric/tools/s5/credits.html for // information about all the wonderful and talented contributors to this code! var undef; var slideCSS = ''; var snum = 0; v...
JavaScript
(function ($) { uiButtonsetClasses = { widgetBase: 'ui-buttonset', widgetSpec: 'ui-widget ui-widget-content', hover: 'ui-buttonset-hover' // not to apply hover style to all child buttons }; $.widget('ui.buttonset', { _init: function () { var self = this, options = this.options; th...
JavaScript
/* * jQuery UI Button * * Copyright (c) 2009 sompylasar (maninblack.msk@hotmail.com ; http://maninblack.info/) * Licensed under the MIT (MIT-LICENSE.txt) * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to ...
JavaScript
/* * jQuery UI Ribbon * * Copyright (c) 2008, 2009 Babak (babak@fintech.ru) * * Depends: * ui.core.js * jquery.blockUI.js */ ;(function($) { $.widget("ui.orbButton", { _init: function() { this.options.event += '.ui-orbButton'; // namespace event this.extend(true); }, setData: functi...
JavaScript
/* * jQuery UI 1.7.1 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI */ ;jQuery.ui || (function($) { var _remove = $.fn.remove, isFF2 = $.browser.mozilla && (parseFloat($.browser....
JavaScript
/* * jQuery UI Ribbon * * Copyright (c) 2008, 2009 sompylasar (maninblack.msk@hotmail.com ; http://maninblack.info/) * Licensed under the MIT (MIT-LICENSE.txt) * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "...
JavaScript
/* * jQuery UI Tabs 1.7.1 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Tabs * * Depends: * ui.core.js */ (function($) { $.widget("ui.tabs", { _init: function() { if (this...
JavaScript
var mydata; var kardexes = { init: function(){ articuloAutocomplete(); inicializarFechas(); //validamos el formulario $('#kardexesForm').validate({ submitHandler: function(form){ $('#kardexes').html(''); kardexes.buscar(form); return false; } }); }, buscar : function(f...
JavaScript
var usuarios = { init:function(){ var usuario = this; $('#usuarios').jqGrid({ url:'usuarios/index', datatype:'json', mtype:'POST', colNames:['id','nombres','appaterno','apmaterno','dni','username','Creado','Estado'], colModel:[ ...
JavaScript
var demandatipos = { init:function(){ /* $.getJSON("demandatipos/listademandatipos", function(listacuentascorrientes) { setupGrid(listademandatipos); }); var demanda = this; */ //function setupGrid(listademandatipos){ var demandatipo = this; $('#demandatipos').jqGrid({ ...
JavaScript
jQuery(document).ready(function(){ $('body').layout({ resizerClass: 'ui-state-default', west__onresize: function (pane, $Pane) { jQuery("#west-grid").jqGrid('setGridWidth',$Pane.innerWidth()-2); } }); $.jgrid.defaults = $.extend($.jgrid.defaults,{loadui:"enable"}); var maintab =jQ...
JavaScript
var unidades = { init:function(){ var unidad = this; $('#unidades').jqGrid({ url:'unidades/index', datatype:'json', mtype:'POST', colNames:['id','Codigo','Descripcion','Creado','Estado'], colModel:[ {name:"data[Unidad][id]",hid...
JavaScript
var zona; var zonas = { init:function(){ zona = this; $('#zonas').jqGrid({ url:'zonas/index', datatype:'json', mtype:'POST', colNames:['id','codigo','Descripcion','Creado','Estado'], colModel:[ {name:"data[Zona][id]",hidden:tr...
JavaScript
var gastos = { init:function(){$.getJSON("tipodocumentos/listatipodocumentos", function(listatipodocumento) { setupGrid(listatipodocumento); }); var gasto = this; function setupGrid(listatipodocumento){ $('#gastos').jqGrid({ url:'gastos/index', datatype:'json', ...
JavaScript
var ubigeos = { init:function(){ $('#ubigeos').jqGrid({ url:'ubigeos/index', datatype:'json', mtype:'POST', colNames:['id','Ubigeo','Distrito','Provincia','Departamento','Estado'], colModel:[ {name:"data[Ubigeo][id]",hidden:true}, ...
JavaScript
var notaingreso_index = { init:function(){ $('#notaingresos').jqGrid({ url:'notaingresos/index', datatype:'json', mtype:'POST', colNames:['id','Numero','Fecha','Almacen','Orden compra'], colModel:[ {name:"data[Notaingreso][id]",hidden:true...
JavaScript
var ordencomprasnotaingreso = { init:function(){ $('#notaingresosordencompras').jqGrid({ url:'notaingresos/ordenCompraNotaIngreso', datatype:'json', mtype:'POST', colNames:['id','Numero','Proveedor','Moneda','Fecha','Estado OC'], colModel:[ ...
JavaScript
var familias = { init:function(){ var familia = this; $('#familias').jqGrid({ url:'familias/index', datatype:'json', mtype:'POST', colNames:['id','codigo','Descripcion','Creado','Estado'], colModel:[ {name:"data[Familia][id]",h...
JavaScript
var ordencompras = { init:function(){ $('#ordencompras').jqGrid({ url:'ordencompras/index', datatype:'json', mtype:'POST', colNames:['id','Numero','Proveedor','Moneda','Total s/IGV','Total c/IGV','Creado','Estado OC'], colModel:[ {name:"da...
JavaScript
$(document).ready(function(){ articuloAutocomplete(); inicializarPrecio(); actualizarBotonEliminar(); }); //INICIALIZA EL CALCULO DE LOS PRECIOS function inicializarPrecio(){ $(".recalcularPrecio").bind("change",calcularPrecioDetalle); } //AGREGA LA OPCION DE AUTOCOMPLETADO PARA LOS ARTICULOS function...
JavaScript
var cursos = { init:function(){ var curso = this; $('#cursos').jqGrid({ url:'cursos/index', datatype:'json', mtype:'POST', colNames:['id','codigo','Descripcion','Area','Creado','Estado'], colModel:[ {name:"data[Curso][id]",hi...
JavaScript
var facturas = { init:function(){ $('#facturas').jqGrid({ url:'facturas/index', datatype:'json', mtype:'POST', colNames:['id','Numero','Cliente','Usuario','Moneda','Total s/IGV','Total c/IGV','Monto Pagado','Creado','Estado FAC','Estado PAGO'], colModel:[...
JavaScript
$(document).ready(function(){ inicializarSelect(); }); function inicializarSelect(){ $('#ValesalidaAlmacenId').bind('change',buscarDetalleVale); } function buscarDetalleVale(event){ var miThis = $(this); $('#detallevale').html(''); //tipos.parent().next().find('img').removeClass('hide'); $.ajax({...
JavaScript
var facturaspagos = { init:function(){ $('#facturaspagos').jqGrid({ url:'facturas/pagos', datatype:'json', mtype:'POST', colNames:['id','Numero','Cliente','Usuario','Moneda','Total s/IGV','Total c/IGV','Monto Pagado','Creado','Estado FAC','Estado PAGO'], ...
JavaScript
$(document).ready(function(){ articuloAutocomplete(); inicializarPrecio(); actualizarBotonEliminar(); }); //INICIALIZA EL CALCULO DE LOS PRECIOS function inicializarPrecio(){ $(".recalcularPrecio").unbind("change"); $(".recalcularPrecio").bind("change",calcularPrecioDetalle); } function actualizarSto...
JavaScript
/* * Translated default messages for the jQuery validation plugin. * Language: ES * Author: David Esperalta - http://www.dec.gesbit.com/ */ jQuery.extend(jQuery.validator.messages, { required: "Este campo es obligatorio.", remote: "Por favor, rellene este campo.", email: "Escriba una dirección de corr...
JavaScript
/* * ContextMenu - jQuery plugin for right-click context menus * * Author: Chris Domigan * Contributors: Dan G. Switzer, II * Parts of this plugin are inspired by Joern Zaefferer's Tooltip plugin * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php *...
JavaScript
/*! Video.js - HTML5 Video Player Version 3.1.0 LGPL v3 LICENSE INFO This file is part of Video.js. Copyright 2011 Zencoder, Inc. Video.js is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 ...
JavaScript
/* * jQuery UI Multiselect * * Authors: * Michael Aufreiter (quasipartikel.at) * Yanick Rochon (yanick.rochon[at]gmail[dot]com) * * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://www.quasipartikel.at/multiselect/ * * * Depends: * ui.core.js * ui.sortab...
JavaScript
/* Plugin: searchFilter v1.2.9 * Author: Kasey Speakman (kasey@cornerspeed.com) * License: Dual Licensed, MIT and GPL v2 (http://www.gnu.org/copyleft/gpl.html) * * REQUIREMENTS: * jQuery 1.3+ (http://jquery.com/) * A Themeroller Theme (http://jqueryui.com/themeroller/) * * SECUR...
JavaScript
;(function ($) { /* * jqGrid 3.6 - jQuery Grid * Copyright (c) 2008, Tony Tomov, tony@trirand.com * Dual licensed under the MIT and GPL licenses * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * Date: 2009-11-08 */ $.jgrid = $.jgrid || {}; $.extend($.jgrid,{ htmlDeco...
JavaScript
;(function($){ /** * jqGrid extension * Paul Tiseo ptiseo@wasteconsultants.com * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid.extend({ getPostData : function(){ var $t = this[0]; if(!$t.grid) { return...
JavaScript
/* Transform a table to a jqGrid. Peter Romianowski <peter.romianowski@optivo.de> If the first column of the table contains checkboxes or radiobuttons then the jqGrid is made selectable. */ // Addition - selector can be a class or id function tableToGrid(selector, options) { $(selector).each(function() { if(this....
JavaScript
;(function($){ /** * jqGrid extension for SubGrid Data * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid.extend({ setSubGrid : function () { return this....
JavaScript
/* * jqModal - Minimalist Modaling with jQuery * (http://dev.iceburg.net/jquery/jqmodal/) * * Copyright (c) 2007,2008 Brice Burgess <bhb@iceburg.net> * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * $Version: ...
JavaScript
;(function($) { /* ** * jqGrid extension - Tree Grid * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid.extend({ setTreeNode : function(rd, row){ retur...
JavaScript
;(function($){ /* ** * jqGrid extension for cellediting Grid Data * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ /** * all events and options here are aded a...
JavaScript