<?xml version="1.0" encoding="UTF-8"?>
<javascript app="convert">
<file javascript_app="convert" javascript_location="admin" javascript_path="controllers/convert" javascript_name="ips.convert.menu.js" javascript_type="controller" javascript_version="103021" javascript_position="1000050">/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
* ips.convert.menu.js -
*
* Author: Ryan Ashbrook
*/
;( function($, _, undefined){
"use strict";
ips.controller.register('convert.admin.convert.menu', {
initialize: function () {
this.on( 'click', "[data-action='reConvert']", this.areYouSure );
this.on( 'click', "[data-action='remove_converted_data']", this.removeConverted );
},
areYouSure: function(e) {
var self = this;
e.preventDefault();
ips.ui.alert.show( {
type: 'confirm',
icon: 'warning',
message: 'Are you sure you wish to reconvert this?',
subText: 'Reconverting can cause data inconsistency. If you reconvert this step, you must also reconvert each step below it.',
} );
},
removeConverted: function(e) {
var self = this;
e.preventDefault();
ips.ui.alert.show( {
type: 'confirm',
icon: 'warning',
message: 'Are you sure you wish to remove all converted data for this step?',
subText: 'Removing all converted data will remove all data that has been converted for this step. This action cannot be undone.',
} );
}
} );
}(jQuery, _));</file>
<order app="global" path="/dev/js//framework/">templates
common/ips.loader.js
common/ui
common/utils
common
controllers</order>
<order app="global" path="/dev/js//library/">underscore
jquery
mustache
jstz
Debug.js
app.js</order>
<order app="global" path="/dev/js//library//jquery">jquery.js
jquery.history.js
jquery.transform.js</order>
<order app="global" path="/dev/js//library//linkify">linkify.min.js
linkify-jquery.min.js</order>
</javascript>