Khi mình edit lại view thì xuất hiện popup lỗi :
An error occurred at /admin/build/views/ajax/config-item/Events/default/field/body.
Error Description: { "display": "\x3cform action=\"/admin/build/views/ajax/config-item/Events/default/field/body\" accept-charset=\"UTF-8\" method=\"post\" id=\"views-ui-config-item-form\"\x3e\n\x3cdiv\x3e\x3cdiv class=\"form-item\" id=\"edit-options-label-wrapper\"\x3e\n \x3clabel for=\"edit-options-label\"\x3eLabel: \x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"options[label]\" id=\"edit-options-label\" size=\"60\" value=\"\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3eThe label for this field that will be displayed to end users if the style requires it.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-exclude-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-options-exclude\"\x3e\x3cinput type=\"checkbox\" name=\"options[exclude]\" id=\"edit-options-exclude\" value=\"1\" class=\"form-checkbox\" /\x3e Exclude from display\x3c/label\x3e\n \x3cdiv class=\"description\"\x3eCheck this box to not display this field, but still load it in the view. Use this option to not show a grouping field in each record, or when doing advanced theming.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-alter-text-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-options-alter-alter-text\"\x3e\x3cinput type=\"checkbox\" name=\"options[alter][alter_text]\" id=\"edit-options-alter-alter-text\" value=\"1\" class=\"form-checkbox\" /\x3e Rewrite the output of this field\x3c/label\x3e\n \x3cdiv class=\"description\"\x3eIf checked, you can alter the output of this field by specifying a string of text with replacement tokens that can use any existing field output.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-text-wrapper\"\x3e\n \x3clabel for=\"edit-options-alter-text\"\x3eText: \x3c/label\x3e\n \x3ctextarea cols=\"60\" rows=\"5\" name=\"options[alter][text]\" id=\"edit-options-alter-text\" class=\"form-textarea resizable\"\x3e\x3c/textarea\x3e\n \x3cdiv class=\"description\"\x3eThe text to display for this field. You may include HTML. You may enter data from this view as per the \"Replacement patterns\" below.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-make-link-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-options-alter-make-link\"\x3e\x3cinput type=\"checkbox\" name=\"options[alter][make_link]\" id=\"edit-options-alter-make-link\" value=\"1\" class=\"form-checkbox\" /\x3e Output this field as a link\x3c/label\x3e\n \x3cdiv class=\"description\"\x3eIf checked, this field will be made into a link. The destination must be given below.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-path-wrapper\"\x3e\n \x3clabel for=\"edit-options-alter-path\"\x3eLink path: \x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"255\" name=\"options[alter][path]\" id=\"edit-options-alter-path\" size=\"60\" value=\"\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3eThe Drupal path or absolute URL for this link. You may enter data from this view as per the \"Replacement patterns\" below.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-link-class-wrapper\"\x3e\n \x3clabel for=\"edit-options-alter-link-class\"\x3eLink class: \x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"options[alter][link_class]\" id=\"edit-options-alter-link-class\" size=\"60\" value=\"\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3eThe CSS class to apply to the link.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-alt-wrapper\"\x3e\n \x3clabel for=\"edit-options-alter-alt\"\x3eAlt text: \x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"options[alter][alt]\" id=\"edit-options-alter-alt\" size=\"60\" value=\"\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3eText to place as \"alt\" text which most browsers display as a tooltip when hovering over the link.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-prefix-wrapper\"\x3e\n \x3clabel for=\"edit-options-alter-prefix\"\x3ePrefix text: \x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"options[alter][prefix]\" id=\"edit-options-alter-prefix\" size=\"60\" value=\"\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3eAny text to display before this link. You may include HTML.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-suffix-wrapper\"\x3e\n \x3clabel for=\"edit-options-alter-suffix\"\x3eSuffix text: \x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"options[alter][suffix]\" id=\"edit-options-alter-suffix\" size=\"60\" value=\"\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3eAny text to display after this link. You may include HTML.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-target-wrapper\"\x3e\n \x3clabel for=\"edit-options-alter-target\"\x3eTarget: \x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"options[alter][target]\" id=\"edit-options-alter-target\" size=\"60\" value=\"\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3eTarget of the link, such as _blank, _parent or an iframe\'s name. This field is rarely used.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv\x3e\x3cfieldset id=\"views-tokens-help\"\x3e\x3clegend\x3eReplacement patterns\x3c/legend\x3e\x3cp\x3eThe following substitution patterns are available for this display. Use the pattern shown on the left to display the value indicated on the right. Note that due to rendering order, you cannot use fields that come after this field; if you need a field not listed here, rearrange your fields.\x3c/p\x3e\x3cdiv class=\"item-list\"\x3e\x3ch3\x3eFields\x3c/h3\x3e\x3cul\x3e\x3cli class=\"first\"\x3e[title] == Node: Title\x3c/li\x3e\n\x3cli\x3e[field_datetime_value] == Content: Date and Time (field_datetime) - From date\x3c/li\x3e\n\x3cli class=\"last\"\x3e[body] == Node: Body\x3c/li\x3e\n\x3c/ul\x3e\x3c/div\x3e\x3c/fieldset\x3e\x3c/div\x3e\x3cinput type=\"hidden\" name=\"options[alter][help]\" id=\"views-tokens-help\" value=\"\" /\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-trim-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-options-alter-trim\"\x3e\x3cinput type=\"checkbox\" name=\"options[alter][trim]\" id=\"edit-options-alter-trim\" value=\"1\" checked=\"checked\" class=\"form-checkbox\" /\x3e Trim this field to a maximum length\x3c/label\x3e\n \x3cdiv class=\"description\"\x3eIf checked, this field be trimmed to a maximum length in characters.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-max-length-wrapper\"\x3e\n \x3clabel for=\"edit-options-alter-max-length\"\x3eMaximum length: \x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"options[alter][max_length]\" id=\"edit-options-alter-max-length\" size=\"60\" value=\"150\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3eThe maximum number of characters this field can be.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-word-boundary-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-options-alter-word-boundary\"\x3e\x3cinput type=\"checkbox\" name=\"options[alter][word_boundary]\" id=\"edit-options-alter-word-boundary\" value=\"1\" checked=\"checked\" class=\"form-checkbox\" /\x3e Trim only on a word boundary\x3c/label\x3e\n \x3cdiv class=\"description\"\x3eIf checked, this field be trimmed only on a word boundary. This is guaranteed to be the maximum characters stated or less. If there are no word boundaries this could trim a field to nothing.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-options-alter-ellipsis-wrapper\"\x3e\n \x3clabel class=\"option\" for=\"edit-options-alter-ellipsis\"\x3e\x3cinput type=\"checkbox\" name=\"options[alter][ellipsis]\" id=\"edit-options-alter-ellipsis\" value=\"1\" checked=\"checked\" class=\"form-checkbox\" /\x3e Add an ellipsis\x3c/label\x3e\n \x3cdiv class=\"description\"\x3eIf checked, a \"...\" will be added if a field wa
Mình không hiểu lỗi này là do sao nữa. Các bạn có ai bị lỗi như vậy chưa. Có cách nào giải quyết nó được không. Mình mới làm Drupal nên chưa rành nó lắm. Cảm ơn mấy bạn nhiều
Comments
Bạn thử update module Jquery
Bạn thử update module Jquery (http://drupal.org/project/jquery_update) và clear cache views xem sao.
update Jquery
Mình đã update rồi và clean cache rồi mà vẫn không được bạn. Đoạn code đó lỗi sao nữa mình hok biết nữa.