Latest dev renames all jquery ui effects files so they no longer match core and are not replaced
2014-12-05 16:52
525 查看
Not sure but #2040991:
jquery.effects.core.min.js is missing in the dev version doesn't seem to be complete solved. I updated to latest 7.x-2.x snapshot, and instead of getting the error message from #2040991:
jquery.effects.core.min.js is missing in the dev version, I now get the following error message:
file_get_contents(sites/all/modules/contrib/jquery_update/replace/ui/ui/minified/jquery.effects.highlight.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (line 1488 of /includes/locale.inc).
Looking at the file names, it looks like this file has changed from "jquery.effects.highlight.min.js" to "jquery.ui.effect-highlight.min.js"
Which means there is a name mismatch between core and the latest dev:
Files:
I was able to fix this by adding the following line to function jquery_update_jqueryui_local(), just after the line that defines the $corefile;
jquery.effects.core.min.js is missing in the dev version doesn't seem to be complete solved. I updated to latest 7.x-2.x snapshot, and instead of getting the error message from #2040991:
jquery.effects.core.min.js is missing in the dev version, I now get the following error message:
file_get_contents(sites/all/modules/contrib/jquery_update/replace/ui/ui/minified/jquery.effects.highlight.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (line 1488 of /includes/locale.inc).
Looking at the file names, it looks like this file has changed from "jquery.effects.highlight.min.js" to "jquery.ui.effect-highlight.min.js"
Which means there is a name mismatch between core and the latest dev:
$libraries['effects.highlight'] = array( 'title' => 'jQuery UI: Effects Highlight', 'website' => 'http://jqueryui.com/demos/effect/', 'version' => '1.8.7', 'js' => array( 'misc/ui/jquery.effects.highlight.min.js' => array(), ), 'dependencies' => array( array('system', 'effects'), ), );
Files:
I was able to fix this by adding the following line to function jquery_update_jqueryui_local(), just after the line that defines the $corefile;
$corefile = 'misc/ui/jquery.' . $file . '.min.js'; $file = str_replace('effects.', 'ui.effect-', $file);
相关文章推荐
- CRS-4258: Addition and deletion of voting files are not allowed because the voting files are on ASM
- Upload Files In ASP.NET Core 1.0 (Form POST And JQuery Ajax)
- Create a program the checks all the links in your web page whether they are active or not.
- CRS-4258: Addition and deletion of voting files are not allowed because the voting files are on ASM
- Spark之submit任务时的Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory
- The log sequence numbers 1602631 and 1602631 in ibdata files do not match the log sequence number 2188207 in the ib_logfiles!
- Constraints for override and explicit interface implementation methods are inherited from the base method, so they cannot be specified directly
- Android eclipse unable to launch:The selection can not be launched,and there are no recent launches
- maven jetty 热部署 Files are locked on Windows and can't be replaced
- - Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed.
- comfortable-mexican-sofa 安装后提示:File to import not found or unreadable: jquery.ui.all 的解决办法
- People are not so honest as they once were
- How to copy all view private files and Derived objects between views
- No Hibernate Session bound to thread, and configuration does not allow creation of non-transactiona
- Notacon 2009 video files are now online
- This is probably a good time to review the order in which SELECT statement clauses are to be specified. Table 10.2 lists all the clauses we have learned thus far, in the order they must be used.
- Server has no associated SOC machines or all SOC machines are at capacity
- Acne Solutions - Not All Measures are Equal
- Axure RP Pro - jQuery - How to implement fade in and fade out effects
- “error: request for member 'tcount' in something not a structure or union,warning: format not a string literal and no format arg