CoreFiles by mySites.guru
banner.js20 lines, 446 bytes, from Joomla_3.2.0-Stable-Full_Package.zip
Raw History Compare with 3.1.6
md5
f8b910e037668427c600e6a2813fe819
sha1
bdaa9592454b5a4ce3c2b13f54b9866af47f7d7a
sha256
6910ffff060196311437c71ab5c356eff3a2d1091736ef4f726f244b8ddce0bf
var jQuery;
	(function ($) {
		$(document).ready(function () {
			$('#jform_type').on('change', function (a, params) {
				var v = typeof(params) !== 'object' ? $('#jform_type').val() : params.selected;
				switch (v) {
				case '0':
					// Image
					$('#image, #url').show();
					$('#custom').hide();
					break;
				case '1':
					// Custom
					$('#image, #url').hide();
					$('#custom').show();
					break;
				}
			});
		});
	})(jQuery);

The same content is in 27 releases, Joomla 3.2.0 to 3.4.3. See them all, or every version of this file.