'use strict';
/* globals $, app */

define('admin/plugins/slick', ['settings'], function(Settings) {

	var ACP = {};

	ACP.init = function() {
		Settings.load('slick', $('.slick-settings'));

		$('#save').on('click', function() {
			Settings.save('slick', $('.slick-settings'), function() {
				app.alert({
					type: 'success',
					alert_id: 'slick-saved',
					title: 'Settings Saved',
					message: 'Slick theme settings saved'
				});
			});
		});
	};

	return ACP;
});
@@ -273,176 +273,8 @@
 gs')
-, function() %7B%0A%09%09%09%09app.alert(%7B%0A%09%09%09%09%09type: 'success',%0A%09%09%09%09%09alert_id: 'slick-saved',%0A%09%09%09%09%09title: 'Settings Saved',%0A%09%09%09%09%09message: 'Slick theme settings saved'%0A%09%09%09%09%7D);%0A%09%09%09%7D
 );%0A%09

remove app.alert