mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 08:09:58 +09:00
issue 2327, changed a process of insert layout
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11133 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
19f6f31085
commit
246a2b9919
3 changed files with 48 additions and 6 deletions
|
|
@ -1,8 +1,10 @@
|
|||
var ConfirmCheck = xe.createPlugin('confirm_check', {
|
||||
API_BEFORE_VALIDATE: function(sender, params){
|
||||
return confirm(xe.lang.confirm_delete);
|
||||
if(params[0].className == 'layout_delete_form'){
|
||||
return confirm(xe.lang.confirm_delete);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
var Validator = xe.getApp('Validator')[0];
|
||||
Validator.registerPlugin(new ConfirmCheck());
|
||||
Validator.registerPlugin(new ConfirmCheck());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue