Skip to content

Commit

Permalink
use iconSet:"glyph" as default for guiStyle:"bootstrap" or guiStyle:"…
Browse files Browse the repository at this point in the history
…bootstrapPrimary"
  • Loading branch information
OlegKi committed Feb 19, 2016
1 parent 3408e0f commit c9a3bf3
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 106 deletions.
2 changes: 1 addition & 1 deletion js/grid.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -2345,7 +2345,7 @@
fatalErrorFunction = isFunction(defaults.fatalError) ? defaults.fatalError : alert,
locale = pin.locale || defaults.locale || "en-US",
direction = locales[locale] != null && typeof locales[locale].isRTL === "boolean" ? (locales[locale].isRTL ? "rtl" : "ltr") : "ltr",
iconSet = pin.iconSet || defaults.iconSet || "jQueryUI",
iconSet = pin.iconSet || defaults.iconSet || ((pin.guiStyle || defaults.guiStyle) === "bootstrap" || (pin.guiStyle || defaults.guiStyle) === "bootstrapPrimary" ? "glyph" : "jQueryUI"),
guiStyle = pin.guiStyle || defaults.guiStyle || "jQueryUI",
getIcon = function (path) {
//return jgrid.getIconRes(iconSet, path);
Expand Down
130 changes: 65 additions & 65 deletions js/jquery.jqgrid.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/jquery.jqgrid.min.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/jquery.jqgrid.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -2345,7 +2345,7 @@
fatalErrorFunction = isFunction(defaults.fatalError) ? defaults.fatalError : alert,
locale = pin.locale || defaults.locale || "en-US",
direction = locales[locale] != null && typeof locales[locale].isRTL === "boolean" ? (locales[locale].isRTL ? "rtl" : "ltr") : "ltr",
iconSet = pin.iconSet || defaults.iconSet || "jQueryUI",
iconSet = pin.iconSet || defaults.iconSet || ((pin.guiStyle || defaults.guiStyle) === "bootstrap" || (pin.guiStyle || defaults.guiStyle) === "bootstrapPrimary" ? "glyph" : "jQueryUI"),
guiStyle = pin.guiStyle || defaults.guiStyle || "jQueryUI",
getIcon = function (path) {
//return jgrid.getIconRes(iconSet, path);
Expand Down
Loading

0 comments on commit c9a3bf3

Please sign in to comment.