Opened 14 years ago

Closed 13 years ago

#786 closed defect (fixed)

savewms and loadwmc in my updated guis

Reported by: frankjaeger Owned by: dev
Priority: major Milestone: 2.7.2 release
Component: installation Version: 2.7
Keywords: savewmc, loadwmc, jq_ui_dialog, savewmcHtml Cc:

Description

Updating my guis (from 2.5.1) to mb 2.7 with update_.sql the elements 'savewms' and 'loadwmc' don't work.

The gui is not even loading completely

Firebug shows: "$(savewmcHtml).dialog is not a function"

I found that this guis need 'jq_ui_dialog' but hasn't got it.

Copy this element from gui1 helps. Better complete 'update_2.7rc1_to_2.7rc2_pgsql_UTF-8.sql'.

Change History (5)

comment:1 by frankjaeger, 14 years ago

Keywords: savewmc added; savewms removed

Uuups, must be savewmc and loadwmc (not ..wms)

comment:2 by astrid_emde, 14 years ago

Vorschlag für SQL von Frank:

-- Einfuegen jq_ui_dialog INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes,

e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content,

e_closetag, e_js_file, e_mb_mod,

e_target, e_requires, e_url)

SELECT gui.gui_id,'jq_ui_dialog',5,1,

'Module to manage jQuery UI dialog windows with multiple options for

customization.',,

'div',,,-1,-1,NULL ,NULL ,NULL ,,,'div',, '../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.dialog.js',, 'jq_ui,jq_ui_widget,jq_ui_button,jq_ui_draggable,jq_ui_mouse,jq_ui_position,jq_ui_resizable',

FROM gui WHERE gui.gui_id NOT LIKE 'admin%'

AND gui.gui_id NOT LIKE 'wms%' AND gui.gui_id

NOT IN (SELECT fkey_gui_id

FROM gui_element

WHERE e_id = 'jq_ui_dialog')

--AND gui.gui_id -- IN (SELECT fkey_gui_id -- FROM gui_element -- WHERE e_id in ('loadwmc','savewmc'))

;

-- Einfuegen jq_ui_button INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes,

e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content,

e_closetag, e_js_file, e_mb_mod,

e_target, e_requires, e_url)

SELECT gui.gui_id,'jq_ui_button',4,1,

'jQuery UI button',,,,,NULL ,NULL ,NULL ,NULL ,NULL ,,,,, '../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.button.js', ,'jq_ui,jq_ui_widget',

FROM gui WHERE gui.gui_id NOT LIKE 'admin%'

AND gui.gui_id NOT LIKE 'wms%' AND gui.gui_id

NOT IN (SELECT fkey_gui_id

FROM gui_element WHERE e_id = 'jq_ui_button')

--AND gui.gui_id -- IN (SELECT fkey_gui_id -- FROM gui_element -- WHERE e_id in ('loadwmc','savewmc'))

comment:3 by verenadiewald, 14 years ago

Milestone: 2.7.1 release2.7.2 release

comment:5 by astrid_emde, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.