ctf0 / Laravel-Media-Manager

A "Vuejs & Laravel" Media Manager With Tons of Features
MIT License
829 stars 179 forks source link

Can not select folder or fullscreen mode #61

Closed tantana5 closed 5 years ago

tantana5 commented 5 years ago

When i click a folder to explore them or click full screen mode button, i got an error in console:

media.js:3318 [Vue warn]: Error in event handler for "dbltap": "ReferenceError: type is not defined"

found in

---> <VTouch>... (1 recursive calls)
       <MediaManager> at resources/assets/vendor/MediaManager/js/components/manager.vue
         <Root>

**Error here:**
if (type == 'hold') {
                this.setSelected(file, i);
                this.imageEditor();

                // anything but images, toggle lock
                if (!this.selectedFileIs('image')) {
                    this.lockFileForm();
                }
            }
ctf0 commented 5 years ago

its fixed in the latest release, plz update

olipiskandar commented 5 years ago

hallo... i got error like above issue.. download

ctf0 commented 5 years ago

@olipiskandar plz update the resources files

php artisan vendor:publish --provider="ctf0\MediaManager\MediaManagerServiceProvider" --force
olipiskandar commented 5 years ago

@olipiskandar plz update the resources files

php artisan vendor:publish --provider="ctf0\MediaManager\MediaManagerServiceProvider" --force

still not work.. after clear chace still not work

ctf0 commented 5 years ago

the error in the ur ss console is related to this line https://github.com/ctf0/Laravel-Media-Manager/blob/74015059e042584175adb456ca7127fbd13ab7cf/src/resources/assets/js/modules/gestures.js#L137

which is solved, however u can make a repo with ur setup so i can investigate the problem more

olipiskandar commented 5 years ago

the error in the ur ss console is related to this line Laravel-Media-Manager/src/resources/assets/js/modules/gestures.js

Line 137 in 7401505

switch (type) { which is solved, however u can make a repo with ur setup so i can investigate the problem more

its work.. after create new project & use yarn