Version 4.1.19.4
This commit is contained in:
1 parent
2bd5025018
commit
0dc2aee5ed
312 files changed
+53730
-32118
No files matched your search
@@ -0,0 +1,63 @@
|
||||
<?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="101099" javascript_position="1000050">/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2016 Invision Power Services - http://www.invisionpower.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>
|
||||
</javascript>
|
||||
Reference in new issue
Block a user