Dwz image search back processing, dwz image search back

Source: Internet
Author: User

Dwz image search back processing, dwz image search back
For my requirements, I want to select the cover and use search to bring back the implementation. After reading the code of the lookup function bringBack, I found that all the operations are for the input tag. Therefore, the img Tag cannot be displayed at all times, so we modified the source code of dwz. databases. find the bringBackSuggest function in js and add the following code:

$ Box. find (": img "). each (function () {var $ input = $ (this), inputName = $ input. attr ("name"); alertMsg.info (inputName); for (var key in args) {var name = (_ lookup. pk = key )? _ Util. lookupPk (key): _ util. lookupField (key); if (name = inputName) {$ input. attr ('src', args [key]); break ;}}});


How can I remove the waiting image when dwz calls the ajax method?

I did this, and I have a record. Send it to you.
Modify file: jquery-1.7.1.js
Search content: Row 7142 ajaxSettings :{
Modification content: global: true => global: false
Purpose: To disable the loading effect

On the dwz pop-up subpage, how does one bring the checkbox tree back?

The question is not very clear. What information do you want to pass? Pass the real value of the check box ??? Or something else
If the real value is passed, a Boolean public method is defined in the parent form. Call in subform ..
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.