Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
vicas-dev /
static /
cms /
js /
modules /
[ HOME SHELL ]
Name
Size
Permission
Action
shortcuts
[ DIR ]
drwxr-xr-x
cms.base.js
15.03
KB
-rw-r--r--
cms.changeform.js
1.34
KB
-rw-r--r--
cms.changetracker.js
4.36
KB
-rw-r--r--
cms.clipboard.js
7.44
KB
-rw-r--r--
cms.messages.js
4.1
KB
-rw-r--r--
cms.modal.js
42.13
KB
-rw-r--r--
cms.navigation.js
11.01
KB
-rw-r--r--
cms.pagetree.dropdown.js
3.49
KB
-rw-r--r--
cms.pagetree.js
38.41
KB
-rw-r--r--
cms.pagetree.stickyheader.js
4.85
KB
-rw-r--r--
cms.plugins.js
76.19
KB
-rw-r--r--
cms.sideframe.js
13.79
KB
-rw-r--r--
cms.structureboard.js
52.79
KB
-rw-r--r--
cms.toolbar.js
25.56
KB
-rw-r--r--
cms.tooltip.js
4.64
KB
-rw-r--r--
cms.wizards.js
1.61
KB
-rw-r--r--
dropdown.js
4.72
KB
-rw-r--r--
get-dist-path.js
1.16
KB
-rw-r--r--
jquery.noconflict.post.js
133
B
-rw-r--r--
jquery.noconflict.pre.js
159
B
-rw-r--r--
jquery.transition.js
2.12
KB
-rw-r--r--
jquery.trap.js
6.21
KB
-rw-r--r--
jquery.ui.custom.js
49.58
KB
-rw-r--r--
jquery.ui.nestedsortable.js
26.19
KB
-rw-r--r--
jquery.ui.touchpunch.js
1.26
KB
-rw-r--r--
keyboard.js
826
B
-rw-r--r--
loader.js
1.05
KB
-rw-r--r--
nextuntil.js
808
B
-rw-r--r--
preload-images.js
680
B
-rw-r--r--
scrollbar.js
402
B
-rw-r--r--
slug.js
1.11
KB
-rw-r--r--
tmpl.js
1.51
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cms.changetracker.js
/* * Copyright https://github.com/divio/django-cms */ import $ from 'jquery'; import Class from 'classjs'; /** * Tracks the changes done inside the modal form. * The reason there's an implementation of actual tracking is because * checking value vs defaultValue at the time of the actual reload is * very unreliable. * * @class ChangeTracker * @namespace CMS * @uses CMS.API.Helpers */ var ChangeTracker = new Class({ initialize: function initialize(iframe) { var that = this; that.state = { fields: new Map(), formChanged: false }; that._setupUI(iframe); that._setupEvents(); }, _setupUI: function _setupUI(iframe) { this.ui = { iframe: iframe }; }, _setupEvents: function _setupEvents() { try { this.ui.iframe .contents() .find('.change-form form') .find('input, textarea, select') .on('change.cms.tracker keydown.cms.tracker', this._trackChange.bind(this)); } catch (e) { // there can be cases when the iframe contents don't exist } }, /** * Tracks the change made on the field * * @method _trackChange * @private * @param {$.Event} e */ _trackChange: function _trackChange(e) { var that = this; if (that.state.fields.has(e.target)) { var current = that.state.fields.get(e.target); var newValue = that._getValue(e.target); if (current.originalValue === newValue) { that.state.formChanged = false; } that.state.fields.set( e.target, $.extend(current, { editedValue: newValue }) ); } else { var defaultValue = that._getOriginalValue(e.target); var editedValue = that._getValue(e.target); that.state.fields.set(e.target, { originalValue: defaultValue, editedValue: editedValue }); if (defaultValue !== editedValue) { that.state.formChanged = true; } } }, /** * @function _getValue * @private * @param {Element} target * @returns {String|Boolean|void} */ _getValue: function _getValue(target) { var el = $(target); if (el.is(':checkbox') || el.is(':radio')) { return target.checked; } if (el.is('select')) { return el.val(); } return target.value; }, /** * @function _getOriginalValue * @private * @param {Element} target * @returns {String|Boolean|void} */ _getOriginalValue: function _getOriginalValue(target) { var el = $(target); if (el.is(':checkbox') || el.is(':radio')) { return target.defaultChecked; } if (el.is('select')) { var options = el.find('option'); var value; if (el.is('[multiple]')) { value = []; options.each(function() { if (this.defaultSelected) { value.push($(this).val()); } }); } else { options.each(function() { if (this.defaultSelected) { value = $(this).val(); } }); } return value; } return target.defaultValue; }, /** * @method isFormChanged * @public * @returns {Boolean} */ isFormChanged: function isFormChanged() { return this.state.formChanged || this._isEditorChanged(); }, /** * Checks if any of the CKEditor instances have been changed. * * @method _isEditorChanged * @private * @returns {Boolean} */ _isEditorChanged: function _isEditorChanged() { var win = this.ui.iframe[0].contentWindow; var isEditorChanged = false; if (win && win.CKEDITOR && win.CKEDITOR.instances) { isEditorChanged = Object.keys(win.CKEDITOR.instances).some(function(key) { return win.CKEDITOR.instances[key].checkDirty(); }); } return isEditorChanged; } }); export default ChangeTracker;
Close