unsavedclass option
This commit is contained in:
@@ -110,18 +110,4 @@
|
||||
|
||||
.editable-clear-x:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/*
|
||||
.editable-clear-x1 {
|
||||
background: url('../img/clear.png') center center no-repeat;
|
||||
display: inline-block;
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
margin-left: -20px;
|
||||
}
|
||||
*/
|
||||
}
|
@@ -228,6 +228,7 @@ Editableform is linked with one of input types, e.g. 'text', 'select' etc.
|
||||
}
|
||||
|
||||
//if success callback returns object like {newValue: <something>} --> use that value instead of submitted
|
||||
//it is usefull if you want to chnage value in url-function
|
||||
if(res && typeof res === 'object' && res.hasOwnProperty('newValue')) {
|
||||
newValue = res.newValue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user