Merge pull request #878 from rahulshukla-webkul/development
Development
This commit is contained in:
commit
c4efa7b093
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"/js/admin.js": "/js/admin.js?id=06de778dcb866c46c8e9",
|
||||
"/js/admin.js": "/js/admin.js?id=d71088ad6eb332aa8de1",
|
||||
"/css/admin.css": "/css/admin.css?id=a226571863dbe544b173"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@ window.onload = function () {
|
|||
|
||||
if(pageContentHeight <= innerSectionHeight - 60) {
|
||||
$('.navbar-left').css("position","absolute");
|
||||
$('.content').css({"position": "fixed", "width": "65%"});
|
||||
$('.content-wrapper').css({"position": "sticky", "top": "60px"});
|
||||
// $('.content').css({"position": "fixed", "width": "65%"});
|
||||
// $('.content-wrapper').css({"position": "sticky", "top": "60px"});
|
||||
}
|
||||
else {
|
||||
$('.accordian-header').on('click',function(event) {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ return [
|
|||
'massaction' => [
|
||||
'mass-delete-confirm' => 'Do you really want to delete these selected :resource?',
|
||||
'mass-update-status' => 'Do you really want to update status of these selected :resource?',
|
||||
'delete' => 'Do you really want to delete this :resource?',
|
||||
'delete' => 'Do you really want to perform this action?',
|
||||
'edit' => 'Do you really want to edit this :resource?',
|
||||
],
|
||||
|
||||
|
|
|
|||
|
|
@ -703,17 +703,21 @@
|
|||
doAction(e) {
|
||||
var element = e.currentTarget;
|
||||
|
||||
axios.post(element.getAttribute('data-action'), {
|
||||
_token : element.getAttribute('data-token'),
|
||||
_method : element.getAttribute('data-method')
|
||||
}).then(function(response) {
|
||||
this.result = response;
|
||||
location.reload();
|
||||
}).catch(function (error) {
|
||||
location.reload();
|
||||
});
|
||||
if (confirm('{{__('ui::app.datagrid.massaction.delete') }}')) {
|
||||
axios.post(element.getAttribute('data-action'), {
|
||||
_token : element.getAttribute('data-token'),
|
||||
_method : element.getAttribute('data-method')
|
||||
}).then(function(response) {
|
||||
this.result = response;
|
||||
location.reload();
|
||||
}).catch(function (error) {
|
||||
location.reload();
|
||||
});
|
||||
|
||||
e.preventDefault();
|
||||
e.preventDefault();
|
||||
} else {
|
||||
e.preventDefault();
|
||||
}
|
||||
},
|
||||
|
||||
removeMassActions() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue