MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/www/india/wp-content/plugins/wptouch/admin/js/wptouch-other-admin.js
function wptouchSetupNonWPtouchPage() {
	var pluginNotificationDiv = jQuery( '.wptouch.update-plugins' );
	if ( pluginNotificationDiv.length ) {
		wptouchHandlePluginNotification();
	}
}

function wptouchHandlePluginNotification() {
	var ajaxParams = {};

	wptouchAdminAjax( 'load-notifications-plugin', ajaxParams, function( notificationData ) {
		if ( notificationData.length ) {
			var result = jQuery.parseJSON( notificationData );
			if ( result.count > 0 ) {
				jQuery( '.wptouch.update-plugins .update-count' ).html( result.count );
				jQuery( '.wptouch.update-plugins' ).show();
			}			
		}
	});
}

jQuery( document ).ready( function() { wptouchSetupNonWPtouchPage(); } );