Author: nathangray
New Revision: 55050
URL: http://svn.stylite.de/viewvc/egroupware?rev=55050&view=rev
Log:
Remove some lingering inline js
Modified:
trunk/importexport/inc/class.importexport_export_ui.inc.php
trunk/importexport/js/app.js
— trunk/importexport/inc/class.importexport_export_ui.inc.php (original)
+++ trunk/importexport/inc/class.importexport_export_ui.inc.php Wed Feb 17 17:05:30 2016
@@ -211,7 +211,6 @@
$content[‘filter’][‘fields’] = importexport_helper_functions::get_filter_fields($_appname, $selected_plugin);
if(!$content[‘filter’][‘fields’])
{
@@ -241,13 +240,7 @@
$content[‘selection’] = ‘search’;
}
-
// Disable / hide definition filter if not selected
-
if($content['selection'] != 'filter')
-
{
-
$this->js->set_onload("
-
\$j('div.filters').hide();
-
");
-
}
— trunk/importexport/js/app.js (original)
+++ trunk/importexport/js/app.js Wed Feb 17 17:05:30 2016
@@ -50,11 +50,24 @@
// call parent
this._super.apply(this, arguments);
-
// et2 doesn't understand a disabled button in the normal sense
-
$j(this.et2.getWidgetById('export').getDOMNode()).attr('disabled','disabled');
-
$j(this.et2.getWidgetById('preview').getDOMNode()).attr('disabled','disabled');
-
if(!this.et2.getArrayMgr("content").getEntry("definition"))
-
{
-
// et2 doesn't understand a disabled button in the normal sense
-
$j(this.et2.getWidgetById('export').getDOMNode()).attr('disabled','disabled');
-
$j(this.et2.getWidgetById('preview').getDOMNode()).attr('disabled','disabled');
-
}
-
if(!this.et2.getArrayMgr("content").getEntry("filter"))
-
{
-
$j('input[value="filter"]').parent().hide();
-
}
-
-
// Disable / hide definition filter if not selected
-
if(this.et2.getArrayMgr("content").getEntry("selection") != 'filter')
-
{
-
$j('div.filters').hide();
-
}
}
},
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs