ManageIQ / manageiq

ManageIQ Open-Source Management Platform
https://manageiq.org
Apache License 2.0
1.35k stars 900 forks source link

regression due to new jquery #3199

Closed martinpovolny closed 9 years ago

martinpovolny commented 9 years ago

@skateman :

  $('[data-miq_observe_date]').live('change', function() {
    miqSendDateRequest($(this));
  });

.live is used by some code stilll..

please, fix asap master is broken; e.g. Reports --> Import --> try selecting a file

martinpovolny commented 9 years ago
deviant - [~/Projects/manageiq/vmdb] (report_export_import_fix)$ grep -r live app/assets/
app/assets/javascripts/miq_jquery_ujs_rails3.js:   * $('form').live('ajax:aborted:file', function(event, elements){
app/assets/javascripts/miq_jquery_ujs_rails3.js:   * $('form').live('ajax:aborted:required', function(event, elements){
app/assets/javascripts/miq_jquery_ujs_rails3.js:        // If browser does not support submit bubbling, then this live-binding will be called before direct
app/assets/javascripts/miq_ujs_bindings.js:  $('[data-miq_observe_date]').live('change', function() {
app/assets/javascripts/dhtmlx_gpl_36/readme.txt:To use this tool, you need to unzip dhtmlxSuite package content into directory under web server with support for PHP and load [dhtmlxSuitePackage]/libCompiler/index.html. Currently there is no difference between libCompiler delivered with Standard and Professional Editions of dhtmlxSuite, but resulting files functionality depends on Edition of course.
app/assets/javascripts/dhtmlx_gpl_36/ext/dhtmlxgrid_validation.js:                          el.className+=" dhtmlx_live_validation_error";
app/assets/javascripts/dhtmlx_gpl_36/ext/dhtmlxgrid_validation.js:                      el.className=el.className.replace(/[ ]*dhtmlx_live_validation_error/g,"");
app/assets/javascripts/dhtmlx_gpl_36/ext/dhtmlxgrid_validation.js:dhtmlXGridObject.prototype.enableValidation=function(mode,live){
app/assets/javascripts/dhtmlx_gpl_36/ext/dhtmlxgrid_validation.js:      this._validators._live=live;
app/assets/javascripts/dhtmlx_gpl_36/ext/dhtmlxgrid_validation.js:      if (v._live){
app/assets/javascripts/dhtmlx_gpl_36/dhtmlxgrid.css:.dhtmlx_live_validation_error{
app/assets/javascripts/miq_jquery_ujs.js: *     $('form').live('ajax:aborted:file', function(event, elements){
app/assets/javascripts/miq_jquery_ujs.js: *     $('form').live('ajax:aborted:required', function(event, elements){
app/assets/javascripts/miq_jquery_ujs.js:      // If browser does not support submit bubbling, then this live-binding will be called before direct
app/assets/javascripts/SlickGrid-2.1/jquery.event.drag-2.2.js:      if ( !drag.touched || dd.live )